aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs162/PR148508.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs162/PR148508.java')
-rw-r--r--tests/bugs162/PR148508.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/bugs162/PR148508.java b/tests/bugs162/PR148508.java
new file mode 100644
index 000000000..2269e6700
--- /dev/null
+++ b/tests/bugs162/PR148508.java
@@ -0,0 +1,23 @@
+
+aspect A {
+ pointcut broken1() : execution(* *(Object[]+));
+// pointcut broken2(): execution(* *(*)) && args(Object[]+);
+
+ before(): broken1() { System.out.println("a"); }
+// before(): broken2() { System.out.println("b"); }
+}
+
+public class PR148508 {
+
+ public static void main(String []argv) {
+ PR148508 instance = new PR148508();
+// instance.m1(new Object[]{});
+ instance.m2(new Integer[]{});
+// instance.m3(new String[]{});
+ }
+
+// public void m1(Object[] os) { }
+ public void m2(Integer[] is) { }
+// public void m3(String[] ss) { }
+
+}