summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/SuperConstr.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile/SuperConstr.java')
-rw-r--r--libjava/testsuite/libjava.compile/SuperConstr.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/libjava/testsuite/libjava.compile/SuperConstr.java b/libjava/testsuite/libjava.compile/SuperConstr.java
deleted file mode 100644
index eef50508109..00000000000
--- a/libjava/testsuite/libjava.compile/SuperConstr.java
+++ /dev/null
@@ -1,20 +0,0 @@
-// It is legal to reference "this" from an enclosing type, or an instance
-// field from an enclosing type, in a super constructor call.
-
-public class SuperConstr
-{
- SuperConstr (Object x, Outer y) {}
-}
-
-class Outer
-{
- Object x;
-
- class Sub extends SuperConstr
- {
- Sub()
- {
- super(x, Outer.this);
- }
- }
-}