Files
2013-09-20 12:11:57 +04:00

18 lines
348 B
Java

class A {
<T> A() {}
{
new <<error descr="Type argument cannot be of primitive type">int</error>>A();
}
}
class B<T> {
{
new B<<error descr="Type argument cannot be of primitive type">int</error>>();
B.<<error descr="Type argument cannot be of primitive type">int</error>>m();
}
<S> void m(){}
}