[Nice-commit] Nice/testsuite/compiler/typing abstractInterfaces.testsuite,1.2,1.3
Brought to you by:
bonniot
From: <bo...@us...> - 2003-05-14 14:40:29
|
Update of /cvsroot/nice/Nice/testsuite/compiler/typing In directory sc8-pr-cvs1:/tmp/cvs-serv5183/testsuite/compiler/typing Modified Files: abstractInterfaces.testsuite Log Message: A slightly more complex case. Index: abstractInterfaces.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/typing/abstractInterfaces.testsuite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** abstractInterfaces.testsuite 17 Feb 2003 15:10:24 -0000 1.2 --- abstractInterfaces.testsuite 14 May 2003 14:40:26 -0000 1.3 *************** *** 38,39 **** --- 38,50 ---- class A implements I {} f(x@A) = new A(); + + /// PASS + /// Toplevel + + abstract interface I { + alike f(); + } + abstract class A finally implements I {} + class B extends A {} + f(x@B) { A res = new B(); return res; } + |