summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/pr13107.java
blob: 06d4c54bbb318ab0b31395231c0bf6b9b129baaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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";
      }
    }
  }
}