[Nice-commit] Nice/testsuite/compiler/methods nativeOverride.testsuite,1.7,1.8
Brought to you by:
bonniot
From: <bo...@us...> - 2003-09-30 17:42:18
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1:/tmp/cvs-serv16785/testsuite/compiler/methods Modified Files: nativeOverride.testsuite Log Message: Check that a super call is rejected if the target is an abstract method. Index: nativeOverride.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/nativeOverride.testsuite,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** nativeOverride.testsuite 30 Aug 2003 21:24:42 -0000 1.7 --- nativeOverride.testsuite 30 Sep 2003 17:42:14 -0000 1.8 *************** *** 212,213 **** --- 212,223 ---- get(i) = cast(null); } + + /// FAIL + /// Toplevel + abstract class A<T> extends AbstractList<T> { + size() = 10; + } + class B<T> extends A<T> { + get(index) = /*/// FAIL HERE*/ super; + get(0) = cast(null); + } |