summaryrefslogtreecommitdiffstats
path: root/tests/bugs161/pr230134/HW.java
blob: 01719db99f72fe339922f8b7a824251048dbaaed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
  }
}