OSDN Git Service

2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / libjava.lang / pr13107.java
1 class pr13107
2 {
3   public static void main(String[] args)
4   {
5     for (int i = 0; i < 1; i++) {
6       String s = "A";
7
8       if (s == "A")
9         continue;
10       
11       try{
12         try{
13           System.out.println(s);
14         }
15         finally{
16           if (s != "A")
17             throw new Error();
18         }
19       }
20       catch(Exception e){
21         s = "B";
22       }
23     }
24   }
25 }