Commit 8c214df6 by Tom Tromey Committed by Tom Tromey

Test for PR gcj/162:

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

From-SVN: r32384
parent 05bccae2
2000-03-07 Tom Tromey <tromey@cygnus.com>
Test for PR gcj/162:
* libjava.lang/PR162.out: New file.
* libjava.lang/PR162.java: New file.
2000-03-06 Tom Tromey <tromey@cygnus.com>
Test for PR gcj/164:
......
interface I
{
int i = 1, ii = Test.out ("ii", 2);
}
interface J extends I
{
int j = Test.out ("j", 3), jj = Test.out ("jj", 4);
}
interface K extends J
{
int k = Test.out ("k", 5);
}
public class PR162
{
public static void main (String[] args)
{
System.out.println (J.i);
System.out.println (K.j);
}
public static int out (String s, int i)
{
System.out.println (s + "=" + i);
return i;
}
}
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