gcc/libjava/testsuite/libjava.lang/PR5057.java

17 lines
215 B
Java
Raw Normal View History

/* Test to make sure <clinit> is generated correctly. */
public class PR5057
{
public static int x;
static
{
x = 72;
}
public static void main (String[] args)
{
System.out.println (x);
}
}