aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/interfaceLibrary/Client.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/interfaceLibrary/Client.java')
-rw-r--r--tests/bugs/interfaceLibrary/Client.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs/interfaceLibrary/Client.java b/tests/bugs/interfaceLibrary/Client.java
new file mode 100644
index 000000000..d18163963
--- /dev/null
+++ b/tests/bugs/interfaceLibrary/Client.java
@@ -0,0 +1,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 {} \ No newline at end of file