summaryrefslogtreecommitdiff
path: root/test/files/run/t7008/JavaClassWithCheckedExceptions_1.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7008/JavaClassWithCheckedExceptions_1.java')
-rw-r--r--test/files/run/t7008/JavaClassWithCheckedExceptions_1.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/t7008/JavaClassWithCheckedExceptions_1.java b/test/files/run/t7008/JavaClassWithCheckedExceptions_1.java
new file mode 100644
index 0000000000..dda2128302
--- /dev/null
+++ b/test/files/run/t7008/JavaClassWithCheckedExceptions_1.java
@@ -0,0 +1,7 @@
+class JavaClassWithCheckedExceptions_1<E1 extends Exception> {
+ public JavaClassWithCheckedExceptions_1() throws NullPointerException {}
+
+ public void bar() throws E1 {}
+ public void baz(int x) throws IllegalStateException {}
+ public <E2 extends Exception> void foo() throws E2 {}
+} \ No newline at end of file