aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libjava/testsuite/libjava.lang/G19990301_01.java
blob: abd38cef4a23d7318f520e392872956b369134c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
public class G19990301_01 {
  public static void main(String args[]) {
    foo pd = new foo();
    System.out.println ("Pass 1");
    pd.s = "test";
    System.out.println ("Pass 2");
  }
}
class foo {
  static String s = "test";
}