aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/TopLevelBefore.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/TopLevelBefore.java')
-rw-r--r--tests/errors/TopLevelBefore.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/errors/TopLevelBefore.java b/tests/errors/TopLevelBefore.java
new file mode 100644
index 000000000..4341e6941
--- /dev/null
+++ b/tests/errors/TopLevelBefore.java
@@ -0,0 +1,9 @@
+import org.aspectj.testing.Tester;
+
+public class TopLevelBefore {
+ public static void main(String[] args) {
+ Tester.check(false, "should not have compiled");
+ }
+}
+
+before(): {}