summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/samenames/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/samenames/Main.java')
-rw-r--r--tests/pureJava/samenames/Main.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/pureJava/samenames/Main.java b/tests/pureJava/samenames/Main.java
new file mode 100644
index 000000000..8358c69e0
--- /dev/null
+++ b/tests/pureJava/samenames/Main.java
@@ -0,0 +1,14 @@
+package samenames;
+
+import org.aspectj.testing.Tester;
+
+public class Main {
+ static Main samenames = new Main();
+ public static void main(String[] args) {
+ samenames.realMain(args);
+ }
+ void realMain(String[] args) {
+ Tester.checkEqual(1, Other.returns1());
+ Tester.checkEqual(2, new Other().returns2());
+ }
+}