Update of /cvsroot/nice/Nice/testsuite/compiler/overloading
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18889/testsuite/compiler/overloading
Added Files:
java.testsuite
Log Message:
Allow calls to Java methods defined in a Java class that implements
several Java interfaces declaring that same method, like
java.io.ObjectOutputStream.flush()
--- NEW FILE: java.testsuite ---
/// PASS
// When a Java class implements two interfaces,
// there is no ambiguity between methods of the same signature
// defined in both interfaces, since they are implemented by the same
// method in the class
/// Toplevel
import java.io.*;
void foo(ObjectOutputStream o)
{
o.flush();
}
|