For PR java/5057:
* libjava.lang/PR5057.out: New file. * libjava.lang/PR5057.java: New file. From-SVN: r48141
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/* 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user