Nice/testsuite/compiler/syntax loops.testsuite,1.4,1.5
Daniel Bonniot <[email protected]>
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/testsuite/compiler/syntax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16668/testsuite/compiler/syntax
Modified Files:
loops.testsuite
Log Message:
Avoid building blocks that contain a single statement, unless necessary
for scoping reasons.
Index: loops.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/syntax/loops.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** loops.testsuite 30 Nov 2003 14:24:35 -0000 1.4
--- loops.testsuite 22 Feb 2005 10:26:32 -0000 1.5
***************
*** 4,8 ****
/// PASS
! for (int x = 0, boolean ok = false; false;) {}
/// PASS
--- 4,8 ----
/// PASS
! for (int x = 0, boolean ok = false; ok;) {}
/// PASS
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click