Update of /cvsroot/nice/Nice/testsuite/compiler/methods
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13177/F:/nice/testsuite/compiler/methods
Modified Files:
super.testsuite
Log Message:
Don't allow redefinition of parameters in local variables.
Index: super.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/super.testsuite,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** super.testsuite 5 Feb 2004 23:00:04 -0000 1.13
--- super.testsuite 7 Oct 2004 22:03:44 -0000 1.14
***************
*** 48,55 ****
/// Toplevel
void m(A, A);
! m(a, a) {}
! m(a@A, b@B) {}
! m(b@B, a@A) {}
! m(b@B, b@B) { /*/// FAIL HERE */ super; }
/// PASS
--- 48,55 ----
/// Toplevel
void m(A, A);
! m(x, y) {}
! m(x@A, y@B) {}
! m(x@B, y@A) {}
! m(x@B, y@B) { /*/// FAIL HERE */ super; }
/// PASS
|