summaryrefslogtreecommitdiffstats
path: root/tests/bugs151
diff options
context:
space:
mode:
authoraclement <aclement>2006-01-10 09:44:47 +0000
committeraclement <aclement>2006-01-10 09:44:47 +0000
commit53284da53f628e7c5071b87888f0624aa7528697 (patch)
tree0a261719d4b6abfa93a02c15a83c2fcdcc6ba074 /tests/bugs151
parentd69ce9aebb3ed4410f07e9992105748b69a0ff5e (diff)
downloadaspectj-53284da53f628e7c5071b87888f0624aa7528697.tar.gz
aspectj-53284da53f628e7c5071b87888f0624aa7528697.zip
test and fix for pr112458 - also created the 151 test areas and driving junit infrastructure.
Diffstat (limited to 'tests/bugs151')
-rw-r--r--tests/bugs151/pr112458.aj6
-rw-r--r--tests/bugs151/pr112458_2.aj15
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/bugs151/pr112458.aj b/tests/bugs151/pr112458.aj
new file mode 100644
index 000000000..d99f09c36
--- /dev/null
+++ b/tests/bugs151/pr112458.aj
@@ -0,0 +1,6 @@
+public class pr112458<V>
+{
+ public void setInnerClasses(InnerClass[] classes){};
+
+ public static class InnerClass {}
+}
diff --git a/tests/bugs151/pr112458_2.aj b/tests/bugs151/pr112458_2.aj
new file mode 100644
index 000000000..f17abfead
--- /dev/null
+++ b/tests/bugs151/pr112458_2.aj
@@ -0,0 +1,15 @@
+public class pr112458_2<V>
+{
+ public void setInnerClasses(InnerClass[] classes){};
+
+ public static class InnerClass {}
+
+ public static void main(String []argv) {
+ new pr112458_2();
+ }
+}
+
+aspect X {
+ before(pr112458_2.InnerClass[] ics): execution(void setInnerClasses(..)) && args(ics) {
+ }
+}