Retro68/gcc/libjava/testsuite/libjava.lang/pr184.java
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

23 lines
264 B
Java

public class pr184
{
public static void main(String[] args)
{
pr184 n = null;
try
{
n.foo();
}
catch (NullPointerException x)
{
System.out.println(x);
}
}
int x = 2;
final int foo()
{
return x;
};
}