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

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

class C implements lib.LibraryInterface {}