diff options
Diffstat (limited to 'tests/bugs1612/xmldefs/Hello2.java')
-rw-r--r-- | tests/bugs1612/xmldefs/Hello2.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs1612/xmldefs/Hello2.java b/tests/bugs1612/xmldefs/Hello2.java new file mode 100644 index 000000000..92b4dd834 --- /dev/null +++ b/tests/bugs1612/xmldefs/Hello2.java @@ -0,0 +1,16 @@ +public class Hello2 { + + public static void main(String[] args) { + say1("hello"); + } + + public static void say1(String h) { + System.out.println(h); + say2("world"); + } + + public static int say2(String w) { + System.out.println(w); + return 0; + } +} |