Commit a1b6a591 by Tom Tromey Committed by Tom Tromey

re PR java/21844 (miscompilation of LinkedHashMap)

	PR java/21844:
	* testsuite/libjava.lang/pr21844.java: New file.
	* testsuite/libjava.lang/pr21844.out: New file.

From-SVN: r100894
parent 924b2450
2005-06-13 Tom Tromey <tromey@redhat.com>
PR java/21844:
* testsuite/libjava.lang/pr21844.java: New file.
* testsuite/libjava.lang/pr21844.out: New file.
2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/21949
......
class pr21844base
{
int modCount;
public pr21844base(int x)
{
modCount = x;
}
}
public class pr21844 extends pr21844base
{
class inner
{
public int doit ()
{
++modCount;
return modCount;
}
}
public pr21844(int x)
{
super(x);
}
public static void main(String[] args)
{
pr21844 val = new pr21844(7);
inner i = val.new inner();
System.out.println(i.doit());
}
}
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