aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-24 07:33:48 +0000
committeraclement <aclement>2005-10-24 07:33:48 +0000
commit822751c24272c84bca7a3121a165de163efd436d (patch)
treefaa9e07b32642347f48a27889a4b217483ee0fa8 /tests/bugs150
parent53f0f224ed33a2f43cb2f75601777e9cebfd4eab (diff)
downloadaspectj-822751c24272c84bca7a3121a165de163efd436d.tar.gz
aspectj-822751c24272c84bca7a3121a165de163efd436d.zip
testcases.
Diffstat (limited to 'tests/bugs150')
-rw-r--r--tests/bugs150/pr112783.aj13
-rw-r--r--tests/bugs150/pr113445.aj7
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