gcc/libjava/testsuite/libjava.compile/iface.java
Tom Tromey 26356fee5b iface.java: New file.
* libjava.compile/iface.java: New file.
	* libjava.compile/static_3.java: New file.
	* libjava.compile/static_2.java: New file.
	* libjava.compile/static_1.xfail: New file.
	* libjava.compile/static_1.java: New file.
	* libjava.compile/redef6.xfail: New file.
	* libjava.compile/redef6.java: New file.
	* libjava.compile/redef5.xfail: New file.
	* libjava.compile/redef5.java: New file.
	* libjava.compile/redef4.xfail: New file.
	* libjava.compile/redef4.java: New file.
	* libjava.compile/redef3.xfail: New file.
	* libjava.compile/redef3.java: New file.
	* libjava.compile/redef2.xfail: New file.
	* libjava.compile/redef2.java: New file.
	* libjava.compile/redef1.xfail: New file.
	* libjava.compile/redef1.java: New file.
	* libjava.compile/not_a_redef.java: New file.
	* libjava.compile/inner_1.java: New file.
	* libjava.compile/static_init.xfail: New file.
	* libjava.compile/static_init.java: New file.

From-SVN: r32688
2000-03-22 21:25:21 +00:00

25 lines
304 B
Java

// Test for searching through interface extension.
interface basei
{
public int method ();
}
interface basei2
{
public int confuse ();
}
interface derivedi extends basei, basei2
{
public void nothing ();
}
public class iface
{
public int try_it (derivedi x)
{
return x.method ();
}
}