aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/interfaceLibrary/ClassClient.java
blob: b3da33370328dd8a441b9e03ddcac481eeace9b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import java.io.IOException;

public class ClassClient {
    public static void main(String[] a) {
        try {
            new C().run();
            throw new Error("test failed to throw IOException");
        } catch (IOException e) {
        }
    }
}

class C extends lib.LibraryClass {}