summaryrefslogtreecommitdiff
path: root/test/files/pos/t7232/Foo.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t7232/Foo.java')
-rw-r--r--test/files/pos/t7232/Foo.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/pos/t7232/Foo.java b/test/files/pos/t7232/Foo.java
new file mode 100644
index 0000000000..3478301b30
--- /dev/null
+++ b/test/files/pos/t7232/Foo.java
@@ -0,0 +1,9 @@
+package pack;
+
+import java.util.List;
+
+public class Foo {
+ public static java.util.List okay() { throw new Error(); }
+
+ public static List wrong() { throw new Error(); }
+}