summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/NestedConstructionsOfLocalClasses.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/NestedConstructionsOfLocalClasses.java')
-rw-r--r--tests/pureJava/NestedConstructionsOfLocalClasses.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pureJava/NestedConstructionsOfLocalClasses.java b/tests/pureJava/NestedConstructionsOfLocalClasses.java
new file mode 100644
index 000000000..1f9f0c378
--- /dev/null
+++ b/tests/pureJava/NestedConstructionsOfLocalClasses.java
@@ -0,0 +1,9 @@
+public class NestedConstructionsOfLocalClasses {
+ public static void main(String[] args) {
+ class D {
+ void x() {
+ new D();
+ }
+ }
+ }
+}