diff options
author | aclement <aclement> | 2006-10-03 13:04:18 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-10-03 13:04:18 +0000 |
commit | a67ec0d3c573b37b0d1bbc8b2400da430dfb2faa (patch) | |
tree | ffc759615c26f508a32f38fb639b976d097c6e61 /tests/bugs153/pr149071 | |
parent | af08e729f0ca9f49ca139f1099eb2dd197be6ce2 (diff) | |
download | aspectj-a67ec0d3c573b37b0d1bbc8b2400da430dfb2faa.tar.gz aspectj-a67ec0d3c573b37b0d1bbc8b2400da430dfb2faa.zip |
test and fix for 149071
Diffstat (limited to 'tests/bugs153/pr149071')
-rw-r--r-- | tests/bugs153/pr149071/AspectItd.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/bugs153/pr149071/AspectItd.java b/tests/bugs153/pr149071/AspectItd.java index 30e749169..54a633ab5 100644 --- a/tests/bugs153/pr149071/AspectItd.java +++ b/tests/bugs153/pr149071/AspectItd.java @@ -1,11 +1,17 @@ public aspect AspectItd { //private interface Holder {} private int Holder.x; - static aspect Inner { + static class Inner { int doIt(Holder h) { return h.x++; } } + + public static void main(String []argv) { + new Inner().doIt(new HolderImpl()); + } } interface Holder{} + +class HolderImpl implements Holder {} |