2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2024-12-22 19:59:44 +08:00
gcc/libjava/testsuite/libjava.lang/PR5057.java
Tom Tromey ced816d5e6 For PR java/5057:
* libjava.lang/PR5057.out: New file.
	* libjava.lang/PR5057.java: New file.

From-SVN: r48141
2001-12-18 04:38:04 +00:00

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);
}
}