mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 03:08:57 +08:00
17 lines
215 B
Java
17 lines
215 B
Java
|
/* 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);
|
||
|
}
|
||
|
}
|