[Nice-commit] Nice/testsuite/compiler/statements/variables scoping.testsuite,1.1,1.2
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2004-10-07 22:03:57
|
Update of /cvsroot/nice/Nice/testsuite/compiler/statements/variables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13177/F:/nice/testsuite/compiler/statements/variables Modified Files: scoping.testsuite Log Message: Don't allow redefinition of parameters in local variables. Index: scoping.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/statements/variables/scoping.testsuite,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** scoping.testsuite 16 Sep 2004 11:27:54 -0000 1.1 --- scoping.testsuite 7 Oct 2004 22:03:45 -0000 1.2 *************** *** 6,10 **** } ! /// FAIL bug /// Toplevel void foo(int x) { --- 6,10 ---- } ! /// FAIL /// Toplevel void foo(int x) { *************** *** 12,13 **** --- 12,21 ---- x++; } + + /// FAIL + /// Toplevel + class A {} + new A(int x) { + int /*/// FAIL HERE */ x = 2; + this(); + } |