summaryrefslogtreecommitdiff
path: root/test/files/jvm/throws-annot-from-java/ThrowsDeclaration_2.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/throws-annot-from-java/ThrowsDeclaration_2.java')
-rw-r--r--test/files/jvm/throws-annot-from-java/ThrowsDeclaration_2.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/jvm/throws-annot-from-java/ThrowsDeclaration_2.java b/test/files/jvm/throws-annot-from-java/ThrowsDeclaration_2.java
new file mode 100644
index 0000000000..3708fe626b
--- /dev/null
+++ b/test/files/jvm/throws-annot-from-java/ThrowsDeclaration_2.java
@@ -0,0 +1,6 @@
+package test;
+
+public class ThrowsDeclaration_2 {
+ public void foo() throws IllegalStateException {};
+ public void bar() throws PolymorphicException {};
+}