mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 06:48:56 +08:00
3d31bc7f58
* libjava.lang/G19990310_01.out: New file. * libjava.lang/G19990310_01.java: New file. From-SVN: r28865
22 lines
323 B
Java
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);
|
|
}
|
|
}
|