diff options
author | aclement <aclement> | 2005-10-24 07:33:48 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-24 07:33:48 +0000 |
commit | 822751c24272c84bca7a3121a165de163efd436d (patch) | |
tree | faa9e07b32642347f48a27889a4b217483ee0fa8 /tests/bugs150 | |
parent | 53f0f224ed33a2f43cb2f75601777e9cebfd4eab (diff) | |
download | aspectj-822751c24272c84bca7a3121a165de163efd436d.tar.gz aspectj-822751c24272c84bca7a3121a165de163efd436d.zip |
testcases.
Diffstat (limited to 'tests/bugs150')
-rw-r--r-- | tests/bugs150/pr112783.aj | 13 | ||||
-rw-r--r-- | tests/bugs150/pr113445.aj | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs150/pr112783.aj b/tests/bugs150/pr112783.aj new file mode 100644 index 000000000..b8ef21e53 --- /dev/null +++ b/tests/bugs150/pr112783.aj @@ -0,0 +1,13 @@ +public aspect pr112783 { + + public NotYetABean.new() { + this(new Long(1)); + } + +} + +class NotYetABean { + + public NotYetABean(Long l) { + } +}
\ No newline at end of file diff --git a/tests/bugs150/pr113445.aj b/tests/bugs150/pr113445.aj new file mode 100644 index 000000000..15d5740c3 --- /dev/null +++ b/tests/bugs150/pr113445.aj @@ -0,0 +1,7 @@ +public class pr113445 +{ + public <T extends Enum<T>> T getEnum(String name, Class<T> enumClass) + { + return (T)new Object(); + } +}
\ No newline at end of file |