aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs162
diff options
context:
space:
mode:
authoraclement <aclement>2008-08-21 18:13:04 +0000
committeraclement <aclement>2008-08-21 18:13:04 +0000
commitf8fac37d1e4ec74eb13389c0968f4868d0116ad0 (patch)
treefe1959ae1b513c3fae6955b985298ad48962804e /tests/bugs162
parent8413359b37dce1f999017935007e6ce56f0fe641 (diff)
downloadaspectj-f8fac37d1e4ec74eb13389c0968f4868d0116ad0.tar.gz
aspectj-f8fac37d1e4ec74eb13389c0968f4868d0116ad0.zip
194429: test and fix: include context in error
Diffstat (limited to 'tests/bugs162')
-rw-r--r--tests/bugs162/pr194429/A.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs162/pr194429/A.java b/tests/bugs162/pr194429/A.java
new file mode 100644
index 000000000..c6a0841f8
--- /dev/null
+++ b/tests/bugs162/pr194429/A.java
@@ -0,0 +1,18 @@
+import java.util.*;
+
+public class A {
+ public void foo(Set s) {
+ }
+ public void goo(Map s) {
+ }
+}
+
+aspect X {
+
+ pointcut p(Set s): execution(* *(..)) && args(s);
+
+ before(Map m): p(m) {
+ }
+
+}
+