summaryrefslogtreecommitdiffstats
path: root/tests/new/ImportFromUnnamed.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/ImportFromUnnamed.java')
-rw-r--r--tests/new/ImportFromUnnamed.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/new/ImportFromUnnamed.java b/tests/new/ImportFromUnnamed.java
new file mode 100644
index 000000000..c1f45f58d
--- /dev/null
+++ b/tests/new/ImportFromUnnamed.java
@@ -0,0 +1,14 @@
+
+import org.aspectj.testing.Tester;
+import DeclaredExcs;
+
+// PR#134
+
+public class ImportFromUnnamed {
+ public static void main(String[] args) { test(); }
+
+ public static void test() {
+ DeclaredExcs a = new DeclaredExcs();
+ Tester.checkEqual(a.getClass().getName(), "DeclaredExcs", "class name");
+ }
+}