gcc/libjava/testsuite/libjava.lang/pr13107_2.java

20 lines
229 B
Java

public class pr13107_2
{
public static int foo (boolean b)
{
int i;
try {
if (b) return 1;
i= 2;
}
finally {
if (b) i = 3;
}
return i;
}
public static void main(String[] args)
{
}
}