diff options
Diffstat (limited to 'tests/bugs161/pr230134/HW.java')
-rw-r--r-- | tests/bugs161/pr230134/HW.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs161/pr230134/HW.java b/tests/bugs161/pr230134/HW.java new file mode 100644 index 000000000..01719db99 --- /dev/null +++ b/tests/bugs161/pr230134/HW.java @@ -0,0 +1,14 @@ +package hello; + +public class HW { + public static void main(String[] argv) { + new HW().print("Hello"); + new HW().print(" "); + new HW().print("World"); + new HW().print("\n"); + } + + public void print(String msg) { + System.out.print(msg); + } +} |