aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs151
diff options
context:
space:
mode:
authoraclement <aclement>2006-02-15 11:10:19 +0000
committeraclement <aclement>2006-02-15 11:10:19 +0000
commit81228854e0cd74f3a771aafbffb06b264fdac59f (patch)
tree22df92ee236d802b45d6e4578a0bebfe19fec83b /tests/bugs151
parent2dcda062d98090b2ca35f58f737dca4bc65f342b (diff)
downloadaspectj-81228854e0cd74f3a771aafbffb06b264fdac59f.tar.gz
aspectj-81228854e0cd74f3a771aafbffb06b264fdac59f.zip
test and fix for 120527
Diffstat (limited to 'tests/bugs151')
-rw-r--r--tests/bugs151/pr120527/Bugs.aj11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs151/pr120527/Bugs.aj b/tests/bugs151/pr120527/Bugs.aj
new file mode 100644
index 000000000..83ade6779
--- /dev/null
+++ b/tests/bugs151/pr120527/Bugs.aj
@@ -0,0 +1,11 @@
+public class Bugs {
+ public static void main(String[] args) {
+ System.out.println("" + (new C())); // + instanceof A.I));
+ }
+ static class C{}
+
+ static aspect A {
+ private interface I {}
+ declare parents : C implements I;
+ }
+}