aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pureJava/DefaultConsAndInner.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/DefaultConsAndInner.java')
-rw-r--r--tests/pureJava/DefaultConsAndInner.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/pureJava/DefaultConsAndInner.java b/tests/pureJava/DefaultConsAndInner.java
new file mode 100644
index 000000000..c01c7fe38
--- /dev/null
+++ b/tests/pureJava/DefaultConsAndInner.java
@@ -0,0 +1,16 @@
+import org.aspectj.testing.Tester;
+
+public class DefaultConsAndInner {
+ public static void main(String[] args) {
+ new Outer.Inner("test");
+ Tester.check("test");
+ }
+}
+
+class Outer {
+ static class Inner extends Outer {
+ public Inner(String s) {
+ Tester.note(s);
+ }
+ }
+}