aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t3938/Parent.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t3938/Parent.java')
-rw-r--r--tests/untried/pos/t3938/Parent.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/pos/t3938/Parent.java b/tests/untried/pos/t3938/Parent.java
new file mode 100644
index 000000000..08fae330b
--- /dev/null
+++ b/tests/untried/pos/t3938/Parent.java
@@ -0,0 +1,9 @@
+public class Parent<A>{
+ class I1 {}
+ class I2 extends Parent.I1 {}
+
+ // OKAY:
+ class I3 extends I1 {}
+ static class I4 {}
+ static class I5 extends Parent.I4 {}
+}