diff options
Diffstat (limited to 'tests/bugs150/pr99191/pr99191_1.java')
-rw-r--r-- | tests/bugs150/pr99191/pr99191_1.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs150/pr99191/pr99191_1.java b/tests/bugs150/pr99191/pr99191_1.java new file mode 100644 index 000000000..f716b2748 --- /dev/null +++ b/tests/bugs150/pr99191/pr99191_1.java @@ -0,0 +1,10 @@ +@interface Annotation{} +aspect B { + + declare @field : int C.noSuchField : @Annotation; // should be an error + declare @field : int B.noSuchField : @Annotation; // should be an error + +} + +class C { +} |