aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1924/337
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs1924/337')
-rw-r--r--tests/bugs1924/337/X.aj12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs1924/337/X.aj b/tests/bugs1924/337/X.aj
new file mode 100644
index 000000000..922a6ab67
--- /dev/null
+++ b/tests/bugs1924/337/X.aj
@@ -0,0 +1,12 @@
+public aspect X {
+ pointcut p(long l): call(* F.m(..)) && args(l);
+ Object around (long id): p(id) { return null; }
+
+ public static void main(String []argv) {
+ new F().m(3L);
+ }
+}
+
+class F {
+ public void m(long r) {}
+}