summaryrefslogtreecommitdiff
path: root/test/files/pos/t7232d/Foo.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t7232d/Foo.java')
-rw-r--r--test/files/pos/t7232d/Foo.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t7232d/Foo.java b/test/files/pos/t7232d/Foo.java
new file mode 100644
index 0000000000..df7114a0f0
--- /dev/null
+++ b/test/files/pos/t7232d/Foo.java
@@ -0,0 +1,8 @@
+package pack;
+
+import java.util.Map.Entry;
+
+public class Foo {
+ public static Entry mapEntry() { throw new Error(); }
+ public static void javaTest() { mapEntry().getKey(); }
+}