Retro68/gcc/libjava/testsuite/libjava.lang/pr13107.java

26 lines
334 B
Java
Raw Normal View History

2012-03-27 23:13:14 +00:00
class pr13107
{
public static void main(String[] args)
{
for (int i = 0; i < 1; i++) {
String s = "A";
if (s == "A")
continue;
try{
try{
System.out.println(s);
}
finally{
if (s != "A")
throw new Error();
}
}
catch(Exception e){
s = "B";
}
}
}
}