summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/InnerClassesInAnnonymousClasses.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/InnerClassesInAnnonymousClasses.java')
-rw-r--r--tests/pureJava/InnerClassesInAnnonymousClasses.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/pureJava/InnerClassesInAnnonymousClasses.java b/tests/pureJava/InnerClassesInAnnonymousClasses.java
new file mode 100644
index 000000000..166ca5bcf
--- /dev/null
+++ b/tests/pureJava/InnerClassesInAnnonymousClasses.java
@@ -0,0 +1,16 @@
+public class InnerClassesInAnnonymousClasses {
+ public static void main(String[] args) {
+ new InnerClassesInAnnonymousClasses().realMain(args);
+ }
+ public void realMain(String[] args) {
+
+
+ new Runnable() {
+ public void run() {}
+ class Inner {}
+ Inner inner = new Inner();
+ };
+ }
+
+
+}