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.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/errors/TopLevelAfter.java b/tests/errors/TopLevelAfter.java
new file mode 100644
index 000000000..7db612660
--- /dev/null
+++ b/tests/errors/TopLevelAfter.java
@@ -0,0 +1,9 @@
+import org.aspectj.testing.Tester;
+
+public class TopLevelAfter {
+ public static void main(String[] args) {
+ Tester.check(false, "should not have compiled");
+ }
+}
+
+after(): {}