summaryrefslogtreecommitdiff
path: root/test/files/run/t4891/J_2.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t4891/J_2.java')
-rw-r--r--test/files/run/t4891/J_2.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/run/t4891/J_2.java b/test/files/run/t4891/J_2.java
new file mode 100644
index 0000000000..db1cc52b13
--- /dev/null
+++ b/test/files/run/t4891/J_2.java
@@ -0,0 +1,13 @@
+import test.generic.*;
+
+public class J_2 {
+ public static <A> void foo(T1<A> x) {
+ // x.m1();
+ }
+
+ public static void main(String[] args) {
+ Bug4891.main(null);
+ T1<Object> x = new C2<Object>();
+ foo(x);
+ }
+}