aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/ImportWithinClassBody.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/ImportWithinClassBody.java')
-rw-r--r--tests/errors/ImportWithinClassBody.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/errors/ImportWithinClassBody.java b/tests/errors/ImportWithinClassBody.java
new file mode 100644
index 000000000..24d1f45cd
--- /dev/null
+++ b/tests/errors/ImportWithinClassBody.java
@@ -0,0 +1,13 @@
+
+import org.aspectj.testing.Tester;
+
+// PR#218
+
+public class ImportWithinClassBody {
+
+ import java.util.Vector;
+
+ public static void test() {
+ Tester.check("".equals(""), "");
+ }
+}