diff options
Diffstat (limited to 'tests/errors/AmbiguousFormal.java')
-rw-r--r-- | tests/errors/AmbiguousFormal.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/errors/AmbiguousFormal.java b/tests/errors/AmbiguousFormal.java new file mode 100644 index 000000000..d101c3daa --- /dev/null +++ b/tests/errors/AmbiguousFormal.java @@ -0,0 +1,9 @@ +public class AmbiguousFormal { + public void m(int x, int y) {} +} + +aspect A { + before(int n): execution(void *.m(.., n, ..)) { + System.out.println(n); + } +} |