aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr59397.aj
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-09-01 12:39:40 +0000
committeracolyer <acolyer>2005-09-01 12:39:40 +0000
commit0c44c16b6cd65aeca12a3627a8a0f22416c1801f (patch)
tree190dcdade0e9708963036cc10a487a094156b645 /tests/bugs150/pr59397.aj
parenta114d244a365a653b52764110d6d312997d70c3e (diff)
downloadaspectj-0c44c16b6cd65aeca12a3627a8a0f22416c1801f.tar.gz
aspectj-0c44c16b6cd65aeca12a3627a8a0f22416c1801f.zip
tests for pr59397, synthetic ITC arg confusing matching
Diffstat (limited to 'tests/bugs150/pr59397.aj')
-rw-r--r--tests/bugs150/pr59397.aj6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/bugs150/pr59397.aj b/tests/bugs150/pr59397.aj
new file mode 100644
index 000000000..a8c157c9e
--- /dev/null
+++ b/tests/bugs150/pr59397.aj
@@ -0,0 +1,6 @@
+aspect A {
+ HW.new(String s) {}
+ declare warning : initialization(HW.new(String,A)) : "should not match";
+ declare warning : initialization(HW.new(String)) : "should match";
+}
+class HW {} \ No newline at end of file