blob: ec6b60133232ec9c7fc8f0225bf0b596977f0bc1 [file] [log] [blame]
// "Replace with <>" "false"
class Test {
void test() {
class Foo<X extends Number> {
Foo() {}
Foo(X x) {}
}
Foo<Number> f1 = new Foo<Number>(1);
Foo<?> f2 = new Foo<Number>();
Foo<?> f3 = new Foo<Integer>();
Foo<Number> f4 = new Foo<Number>(1) {};
Foo<?> f5 = new Foo<Numb<caret>er>() {};
Foo<?> f6 = new Foo<Integer>() {};
}
}