aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/interSpecials/p2/A1.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/interSpecials/p2/A1.java')
-rw-r--r--tests/bugs/interSpecials/p2/A1.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/bugs/interSpecials/p2/A1.java b/tests/bugs/interSpecials/p2/A1.java
new file mode 100644
index 000000000..4a84e592d
--- /dev/null
+++ b/tests/bugs/interSpecials/p2/A1.java
@@ -0,0 +1,15 @@
+package p2;
+
+import p1.C;
+
+public class A1 {
+ public static void main(String[] args) {
+ new C().foo();
+ }
+}
+
+aspect InterClass {
+ void C.foo() {
+ System.out.println("class: " + C.class);
+ }
+} \ No newline at end of file