diff options
Diffstat (limited to 'tests/new/ExtendInnerCE.java')
-rw-r--r-- | tests/new/ExtendInnerCE.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/new/ExtendInnerCE.java b/tests/new/ExtendInnerCE.java new file mode 100644 index 000000000..cddc98551 --- /dev/null +++ b/tests/new/ExtendInnerCE.java @@ -0,0 +1,8 @@ +/** @testcase TestCase PUREJAVA NullPointerException (not compiler error) when extending non-static inner class */ +public class ExtendInnerCE { } +class TargetClass Outer.Inner { } // s.b. error: Outer.this. is not accessible + +class Outer { + class Inner { + } +} |