PR5057_2.java 248 Bytes
Newer Older
Tom Tromey committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* Test to make sure <clinit> is generated correctly.  */

class R
{
  public static int z = 23;
}

public class PR5057_2 extends R
{
  static
  {
    R.z = 72;
  }

  public static void main (String[] args)
  {
    System.out.println (R.z);
  }
}