summaryrefslogtreecommitdiff
path: root/test/files/jvm/throws-annot-from-java/ThrowsDeclaration_2.java
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2013-01-24 16:36:23 -0800
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2013-01-29 16:24:46 -0800
commite22d801a539f951422e91519844c7cb9ce81b413 (patch)
tree73b4124596955e4f4760b57df659aaba01cc9fd8 /test/files/jvm/throws-annot-from-java/ThrowsDeclaration_2.java
parentc1dd8bbaa4cc688ab05fc325a02e20b91488a583 (diff)
downloadscala-e22d801a539f951422e91519844c7cb9ce81b413.tar.gz
scala-e22d801a539f951422e91519844c7cb9ce81b413.tar.bz2
scala-e22d801a539f951422e91519844c7cb9ce81b413.zip
Test case for SI-7009.
The next commit fixes the problem itself and it's easier to see in diff what's being fixed exactly.
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 {};
+}