From 822751c24272c84bca7a3121a165de163efd436d Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 24 Oct 2005 07:33:48 +0000 Subject: testcases. --- tests/bugs150/pr112783.aj | 13 +++++++++++++ tests/bugs150/pr113445.aj | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 tests/bugs150/pr112783.aj create mode 100644 tests/bugs150/pr113445.aj (limited to 'tests/bugs150') 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 getEnum(String name, Class enumClass) + { + return (T)new Object(); + } +} \ No newline at end of file -- cgit v1.2.3