aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/TopLevelAfter.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/TopLevelAfter.java')
-rw-r--r--tests/errors/TopLevelAfter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/errors/TopLevelAfter.java b/tests/errors/TopLevelAfter.java
index 7db612660..b8186446a 100644
--- a/tests/errors/TopLevelAfter.java
+++ b/tests/errors/TopLevelAfter.java
@@ -1,9 +1,10 @@
import org.aspectj.testing.Tester;
+after(): call(void main(..)) {} // CE 3
+
public class TopLevelAfter {
public static void main(String[] args) {
Tester.check(false, "should not have compiled");
}
}
-after(): {}