aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs151
diff options
context:
space:
mode:
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;
+ }
+}