Nice/testsuite/compiler/functions return.testsuite,1.3,1.4

Daniel Bonniot <[email protected]>
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
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;
    }



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.