aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs162
diff options
context:
space:
mode:
authoraclement <aclement>2008-07-24 02:20:23 +0000
committeraclement <aclement>2008-07-24 02:20:23 +0000
commit3a79d88b6d101819880ecbc4696b6cd974ae0dba (patch)
treee8e4b6ccdedffcd5acedd8353e50a1496a0e0df5 /tests/bugs162
parentc78628924a9969b5e84ac13cbaf63efa13422d0e (diff)
downloadaspectj-3a79d88b6d101819880ecbc4696b6cd974ae0dba.tar.gz
aspectj-3a79d88b6d101819880ecbc4696b6cd974ae0dba.zip
241861: test
Diffstat (limited to 'tests/bugs162')
-rw-r--r--tests/bugs162/pr241861/Ann.java4
-rw-r--r--tests/bugs162/pr241861/Asp.java3
-rw-r--r--tests/bugs162/pr241861/Outer.java7
3 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs162/pr241861/Ann.java b/tests/bugs162/pr241861/Ann.java
new file mode 100644
index 000000000..b6addfd9e
--- /dev/null
+++ b/tests/bugs162/pr241861/Ann.java
@@ -0,0 +1,4 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Ann {}
diff --git a/tests/bugs162/pr241861/Asp.java b/tests/bugs162/pr241861/Asp.java
new file mode 100644
index 000000000..f9fbc7e20
--- /dev/null
+++ b/tests/bugs162/pr241861/Asp.java
@@ -0,0 +1,3 @@
+public aspect Asp {
+ before(): execution(new(@Ann (*),..)) {}
+}
diff --git a/tests/bugs162/pr241861/Outer.java b/tests/bugs162/pr241861/Outer.java
new file mode 100644
index 000000000..f5761cade
--- /dev/null
+++ b/tests/bugs162/pr241861/Outer.java
@@ -0,0 +1,7 @@
+
+public class Outer {
+// Outer(@Ann String arg) {}
+ public class Inner {
+ Inner(@Ann String arg) {}
+ }
+}