aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1612/xmldefs/Hello.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs1612/xmldefs/Hello.java')
-rw-r--r--tests/bugs1612/xmldefs/Hello.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs1612/xmldefs/Hello.java b/tests/bugs1612/xmldefs/Hello.java
new file mode 100644
index 000000000..833ee1d3e
--- /dev/null
+++ b/tests/bugs1612/xmldefs/Hello.java
@@ -0,0 +1,16 @@
+public class Hello {
+
+ public static void main(String[] args) {
+ sayHello();
+ }
+
+ public static void sayHello() {
+ System.out.println("Hello");
+ sayWorld();
+ }
+
+ public static int sayWorld() {
+ System.out.println("World");
+ return 0;
+ }
+}