summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr77269b.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs150/pr77269b.aj')
-rw-r--r--tests/bugs150/pr77269b.aj23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/bugs150/pr77269b.aj b/tests/bugs150/pr77269b.aj
new file mode 100644
index 000000000..4f95dbb2c
--- /dev/null
+++ b/tests/bugs150/pr77269b.aj
@@ -0,0 +1,23 @@
+class Test {
+
+ public void testMethod() {
+ new Runnable() {
+ public void run() {
+ }
+ };
+ class C {
+ public void m(){
+ }
+ }
+ }
+
+}
+
+aspect A {
+
+ pointcut p() : execution(* m(..));
+
+ before() : p() {
+ }
+
+}