diff options
Diffstat (limited to 'tests/bugs164')
-rw-r--r-- | tests/bugs164/pr195090.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs164/pr195090.java b/tests/bugs164/pr195090.java new file mode 100644 index 000000000..515a135be --- /dev/null +++ b/tests/bugs164/pr195090.java @@ -0,0 +1,19 @@ +/** + * Helper interface. + */ +interface Interface{ + boolean methodToBeImplemented(); +} + +/** + * Exposes the ajc$this_ is never read warning. + */ +public aspect pr195090 { + public boolean Interface.methodToBeImplemented() { + return returnTrue(); + } + + public static boolean returnTrue() { + return true; + } +} |