Commit bf768dd1 by Tom Tromey Committed by Tom Tromey

Inspired by PR java/5057:

	* libjava.lang/PR5057_2.java: New file.
	* libjava.lang/PR5057_2.out: New file.

From-SVN: r48142
parent ced816d5
2001-12-17 Tom Tromey <tromey@redhat.com>
Inspired by PR java/5057:
* libjava.lang/PR5057_2.java: New file.
* libjava.lang/PR5057_2.out: New file.
For PR java/5057:
* libjava.lang/PR5057.out: New file.
* libjava.lang/PR5057.java: New file.
......
/* 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);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment