[Nice-commit] Nice/testsuite/compiler/abstractInterfaces existingClass.testsuite,1.9,1.10
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2004-11-21 16:27:42
|
Update of /cvsroot/nice/Nice/testsuite/compiler/abstractInterfaces In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17491/F:/nice/testsuite/compiler/abstractInterfaces Modified Files: existingClass.testsuite Log Message: Testcase for primitives implementing an interface. Index: existingClass.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/abstractInterfaces/existingClass.testsuite,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** existingClass.testsuite 11 Oct 2004 16:21:05 -0000 1.9 --- existingClass.testsuite 21 Nov 2004 16:26:04 -0000 1.10 *************** *** 123,124 **** --- 123,133 ---- interface /*/// FAIL HERE */ java.util.Collection implements ITest; test(Collection a) = "done"; + + /// FAIL + // a primitive can't implement a non abstract interface + /// Toplevel + interface I { + int foo(); + } + class /*/// FAIL HERE */nice.lang.int implements I; + foo(x) = x; |