diff options
Diffstat (limited to 'tests/bugs152/pr142466/case2/HelloWorld.java')
-rw-r--r-- | tests/bugs152/pr142466/case2/HelloWorld.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs152/pr142466/case2/HelloWorld.java b/tests/bugs152/pr142466/case2/HelloWorld.java new file mode 100644 index 000000000..f741a2c0e --- /dev/null +++ b/tests/bugs152/pr142466/case2/HelloWorld.java @@ -0,0 +1,11 @@ +public class HelloWorld { + + public static void main(String[] args) { + new HelloWorld().println(); + } + + public void println() { + System.out.print("Hello World!"); + } + +} |