mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 10:39:13 +08:00
ced816d5e6
* libjava.lang/PR5057.out: New file. * libjava.lang/PR5057.java: New file. From-SVN: r48141
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);
|
|
}
|
|
}
|