diff options
Diffstat (limited to 'tests/pureJava/nameConflicts/p1/Main1.java')
-rw-r--r-- | tests/pureJava/nameConflicts/p1/Main1.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pureJava/nameConflicts/p1/Main1.java b/tests/pureJava/nameConflicts/p1/Main1.java new file mode 100644 index 000000000..634761812 --- /dev/null +++ b/tests/pureJava/nameConflicts/p1/Main1.java @@ -0,0 +1,10 @@ +package p1; + +import org.aspectj.testing.Tester; + +public class Main1 { + public static void main(String[] args) { + Tester.checkEqual(new p1.Foo().getClass().getName(), "p1.Foo"); + Tester.checkEqual(new p1.p2.Foo().getClass().getName(), "p1.p2$Foo"); + } +} |