aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/abstractMethods/singlesource/C1.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/abstractMethods/singlesource/C1.java')
-rw-r--r--tests/bugs/abstractMethods/singlesource/C1.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs/abstractMethods/singlesource/C1.java b/tests/bugs/abstractMethods/singlesource/C1.java
new file mode 100644
index 000000000..881d00015
--- /dev/null
+++ b/tests/bugs/abstractMethods/singlesource/C1.java
@@ -0,0 +1,17 @@
+abstract class B {}
+
+aspect A {
+ abstract void B.m();
+
+ public static void doit(B b) { b.m(); }
+}
+
+public class C1 extends B {
+ public static void main(String[] args) {
+ A.doit(new C1());
+ }
+}
+
+aspect A1 {
+ void C1.m() {}
+}