mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
testdata for IDEA-130243
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
class Test {
|
||||
|
||||
public enum EXT {
|
||||
TOP, BOTTOM
|
||||
}
|
||||
|
||||
public static <C extends Comparable<? extends C>> C min(C c1, C... c2) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static <C extends Comparable<? extends C>> C min(EXT ext, C c1, C... c2) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
min("a", "b", "c");
|
||||
min(EXT.TOP, "a", "b", "c");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user