aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/intertypeOverrides/IntertypeOverrides2.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/intertypeOverrides/IntertypeOverrides2.java')
-rw-r--r--tests/bugs/intertypeOverrides/IntertypeOverrides2.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/bugs/intertypeOverrides/IntertypeOverrides2.java b/tests/bugs/intertypeOverrides/IntertypeOverrides2.java
new file mode 100644
index 000000000..ae86cc3bf
--- /dev/null
+++ b/tests/bugs/intertypeOverrides/IntertypeOverrides2.java
@@ -0,0 +1,9 @@
+class Super {
+ public static void m(){};
+}
+
+class Sub extends Super {}
+
+aspect A {
+ public void Sub.m(){}
+}