diff options
author | aclement <aclement> | 2005-10-05 08:12:20 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-05 08:12:20 +0000 |
commit | 2b0e6755030eb378e612a00fcb80d7bdca2c55ee (patch) | |
tree | 0b67896cebc343880741d2fe862c773aadfa9991 /tests/bugs150/pr111481.aj | |
parent | b305f9ee512015657cad0ea722b8180d884b1f72 (diff) | |
download | aspectj-2b0e6755030eb378e612a00fcb80d7bdca2c55ee.tar.gz aspectj-2b0e6755030eb378e612a00fcb80d7bdca2c55ee.zip |
test and fix for pr111481: varargs ITD ctors. Patch from Helen Hawkins.
Diffstat (limited to 'tests/bugs150/pr111481.aj')
-rw-r--r-- | tests/bugs150/pr111481.aj | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs150/pr111481.aj b/tests/bugs150/pr111481.aj new file mode 100644 index 000000000..e764b4e4f --- /dev/null +++ b/tests/bugs150/pr111481.aj @@ -0,0 +1,14 @@ +public class pr111481 { + + public static void main(String []argv) { + new pr111481(new Object[]{"a","b","c"}); + new pr111481("a","b","c"); + } + +} +aspect A { + public pr111481.new(Object... names) { + System.out.println(names[0]); + } + +} |