Nice/testsuite/compiler/statements/flow reachability.testsuite,1.7,1.8

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



-------------------------------------------------------
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.