diff options
Diffstat (limited to 'tests/errors/IntLiteral.java')
-rw-r--r-- | tests/errors/IntLiteral.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/errors/IntLiteral.java b/tests/errors/IntLiteral.java new file mode 100644 index 000000000..bf12a6609 --- /dev/null +++ b/tests/errors/IntLiteral.java @@ -0,0 +1,18 @@ +import org.aspectj.testing.*; + +public class IntLiteral { + public static void main(String[] args) { + new IntLiteral().go(); + org.aspectj.testing.Tester.check(goRan, "Method go did not run"); + } + + static boolean goRan = false; + + void go() { + goRan = true; + } +} + +aspect A { + pointcut p1(int i) : execution(* *(5)); +} |