diff options
author | acolyer <acolyer> | 2005-08-18 09:31:05 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-18 09:31:05 +0000 |
commit | e88e1a38c43abbfabdb407d51a3dd122afede672 (patch) | |
tree | 13fce2776d8106f6b6b78e777b22e5b4b4d9d207 /tests | |
parent | f6544cd3911b551d36d580a54dd8f009ba5318ba (diff) | |
download | aspectj-e88e1a38c43abbfabdb407d51a3dd122afede672.tar.gz aspectj-e88e1a38c43abbfabdb407d51a3dd122afede672.zip |
follow-on test for pr107159
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs150/pr107059_2.aj | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs150/pr107059_2.aj b/tests/bugs150/pr107059_2.aj new file mode 100644 index 000000000..73045726f --- /dev/null +++ b/tests/bugs150/pr107059_2.aj @@ -0,0 +1,14 @@ + +public aspect pr107059_2 { + + before() : target(@Foo *) { // not allowed type pattern in target of course! + System.out.println("hi"); + } + + void bar(Object o) { + o.toString(); // generates o hasAnnotation(Foo.class) test + } + +} + +@interface Foo {}
\ No newline at end of file |