aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/TopLevelAround.java
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-01-13 11:27:59 +0000
committeracolyer <acolyer>2004-01-13 11:27:59 +0000
commit19ed0a21b822004f6f2c688518c4230965a3b512 (patch)
tree5680a8ccc55b3d2bbe634b38717d08dc6328f214 /tests/errors/TopLevelAround.java
parent346fd1c4acfa5360e1a71aa171da283251ef99bf (diff)
downloadaspectj-19ed0a21b822004f6f2c688518c4230965a3b512.tar.gz
aspectj-19ed0a21b822004f6f2c688518c4230965a3b512.zip
move to Eclipse 3.0 M6 JDT core (v_396). Also makes 1.4 the
default mode (inherited behaviour from JDT).
Diffstat (limited to 'tests/errors/TopLevelAround.java')
-rw-r--r--tests/errors/TopLevelAround.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/errors/TopLevelAround.java b/tests/errors/TopLevelAround.java
index 52beae80e..89e99cfd2 100644
--- a/tests/errors/TopLevelAround.java
+++ b/tests/errors/TopLevelAround.java
@@ -1,9 +1,10 @@
import org.aspectj.testing.Tester;
-public class TopLevelAround {
+void around(): call(void main(..)) {} // CE 3
+
+public aspect TopLevelAround {
public static void main(String[] args) {
Tester.check(false, "should not have compiled");
}
}
-around(): {} // CE 9