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