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

22 lines
323 B
Java

public class G19990310_01
{
public static void main (String[] args)
{
int i = 0;
try
{
System.out.println ("pass 1");
i++;
}
finally
{
System.out.println ("pass 2");
i++;
}
if (i == 2)
System.out.println ("OK");
else
System.out.println ("NG i = " + i);
}
}