aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/Colon.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/Colon.java')
-rw-r--r--tests/errors/Colon.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/errors/Colon.java b/tests/errors/Colon.java
new file mode 100644
index 000000000..ffa00b609
--- /dev/null
+++ b/tests/errors/Colon.java
@@ -0,0 +1,13 @@
+import org.aspectj.testing.*;
+
+public class Colon {
+ public static void main(String[] args) {
+ new Colon().realMain(args);
+ }
+
+ public void realMain(String[] args) {
+ int i = 13:
+ Tester.check(false, "Shouldn't have compiled");
+ }
+}
+