mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
20 lines
248 B
Java
20 lines
248 B
Java
|
|
/* 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);
|
||
|
|
}
|
||
|
|
}
|