OSDN Git Service

PR libgcj/12656:
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / libjava.lang / PR5057_2.java
1 /* Test to make sure <clinit> is generated correctly.  */
2
3 class R
4 {
5   public static int z = 23;
6 }
7
8 public class PR5057_2 extends R
9 {
10   static
11   {
12     R.z = 72;
13   }
14
15   public static void main (String[] args)
16   {
17     System.out.println (R.z);
18   }
19 }