mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 03:09:01 +08:00
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);
|
||
|
}
|
||
|
}
|