[Nice-commit] Nice/testsuite/compiler/functions return.testsuite,1.3,1.4
Brought to you by:
bonniot
|
From: Daniel B. <bo...@us...> - 2005-02-22 10:28:05
|
Update of /cvsroot/nice/Nice/testsuite/compiler/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16668/testsuite/compiler/functions Modified Files: return.testsuite Log Message: Avoid building blocks that contain a single statement, unless necessary for scoping reasons. Index: return.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/functions/return.testsuite,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** return.testsuite 13 Jun 2003 14:57:51 -0000 1.3 --- return.testsuite 22 Feb 2005 10:26:36 -0000 1.4 *************** *** 45,49 **** // local function int f() ! /* /// FAIL HERE */ { ! if (x > 0) return x; } --- 45,49 ---- // local function int f() ! { ! /* /// FAIL HERE */ if (x > 0) return x; } |