summaryrefslogtreecommitdiffstats
path: root/tests/new/pr728/AnotherClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/pr728/AnotherClass.java')
-rw-r--r--tests/new/pr728/AnotherClass.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/new/pr728/AnotherClass.java b/tests/new/pr728/AnotherClass.java
new file mode 100644
index 000000000..c48be7089
--- /dev/null
+++ b/tests/new/pr728/AnotherClass.java
@@ -0,0 +1,13 @@
+
+import org.aspectj.testing.*;
+
+/** @testcase PR#728 file order in type searching */
+public class AnotherClass implements Interface {
+ public static class InnerClass { }
+ public static void main (String[] args) {
+ String s = new AnotherClass.InnerClass().toString();
+ Tester.expectEvent(s);
+ Tester.checkAllEvents();
+ }
+}
+