mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
9 lines
400 B
Java
9 lines
400 B
Java
class Neg11 {
|
|
|
|
void test() {
|
|
class Foo<X extends Number> { }
|
|
Foo<?> f1 = new <error descr="Cannot resolve symbol 'UndeclaredName'">UndeclaredName</error><>(); //this is deliberate: aim is to test erroneous path
|
|
Foo<?> f2 = new <error descr="Cannot resolve symbol 'UndeclaredName'">UndeclaredName</error><>() {}; //this is deliberate: aim is to test erroneous path
|
|
}
|
|
}
|