aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1923/gh328/One.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs1923/gh328/One.java')
-rw-r--r--tests/bugs1923/gh328/One.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs1923/gh328/One.java b/tests/bugs1923/gh328/One.java
new file mode 100644
index 000000000..218a065dc
--- /dev/null
+++ b/tests/bugs1923/gh328/One.java
@@ -0,0 +1,11 @@
+aspect A {
+ private void priv(String a) { }
+ Object around(String s): execution(* foo(..)) && args(s) {
+ priv(s);
+ return null;
+ }
+}
+
+class C {
+ public void foo(String f) { }
+}