[Nice-commit] Nice/testsuite/compiler/statements/flow reachability.testsuite,1.7,1.8
Brought to you by:
bonniot
|
From: Daniel B. <bo...@us...> - 2005-02-22 10:28:31
|
Update of /cvsroot/nice/Nice/testsuite/compiler/statements/flow In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16668/testsuite/compiler/statements/flow Modified Files: reachability.testsuite Log Message: Avoid building blocks that contain a single statement, unless necessary for scoping reasons. Index: reachability.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/statements/flow/reachability.testsuite,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** reachability.testsuite 30 Nov 2003 14:24:35 -0000 1.7 --- reachability.testsuite 22 Feb 2005 10:26:33 -0000 1.8 *************** *** 1,5 **** /// FAIL ! while (false) { ! /*/// FAIL HERE */ {} // Unreachable } --- 1,9 ---- /// FAIL ! while (false) /*/// FAIL HERE */ { ! } ! ! /// FAIL ! while (false) /*/// FAIL HERE */ { ! {} // Unreachable } *************** *** 13,18 **** /// FAIL ! for (;false;) { ! /*/// FAIL HERE */ {} // Unreachable } --- 17,26 ---- /// FAIL ! for (;false;) /*/// FAIL HERE */ { ! } ! ! /// FAIL ! for (;false;) /*/// FAIL HERE */ { ! {} // Unreachable } |