summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/samenames/Other.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/samenames/Other.java')
-rw-r--r--tests/pureJava/samenames/Other.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pureJava/samenames/Other.java b/tests/pureJava/samenames/Other.java
new file mode 100644
index 000000000..9c25d1c0b
--- /dev/null
+++ b/tests/pureJava/samenames/Other.java
@@ -0,0 +1,9 @@
+package samenames;
+
+
+
+public class Other {
+
+ static int returns1() { return true ? 1 : 2; }
+ int returns2() { return true ? 2 : 1; }
+}