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