summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/pr13107_2.java
blob: dba3b249e3142d2d2ee85ce4cfccc40a605e3109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)
  {
  }
}