summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/KeywordPointcut.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/KeywordPointcut.java')
-rw-r--r--tests/pureJava/KeywordPointcut.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/pureJava/KeywordPointcut.java b/tests/pureJava/KeywordPointcut.java
new file mode 100644
index 000000000..a2559565b
--- /dev/null
+++ b/tests/pureJava/KeywordPointcut.java
@@ -0,0 +1,14 @@
+import org.aspectj.testing.Tester;
+public class KeywordPointcut {
+ public static void main(String[] args) {
+ new KeywordPointcut().realMain(args);
+ }
+ public void realMain(String[] args) {
+ int pointcut = 0;
+ pointcut += 2;
+ Tester.checkEqual(pointcut, 2);
+ }
+
+ public KeywordPointcut() {
+ }
+}