changeset 629:9337dc166495

labeled breaks and labeled enclosing scopes BCS <BCS_member@pathlink.com> 2005-08-11 news:ddfsnp$eit$1@digitaldaemon.com
author thomask
date Sat, 13 Aug 2005 21:36:50 +0000
parents e72b992e95ea
children ecb96b2bf5cb
files nocompile/b/break_11_A.d nocompile/b/break_11_B.d nocompile/b/break_11_C.d nocompile/b/break_11_D.d
diffstat 4 files changed, 82 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/b/break_11_A.d	Sat Aug 13 21:36:50 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	BCS <BCS_member@pathlink.com>
+// @date@	2005-08-11
+// @uri@	news:ddfsnp$eit$1@digitaldaemon.com
+// @desc@	labeled breaks and labeled enclosing scopes
+
+// __DSTRESS_ELINE__ 17
+
+module dstress.nocompile.b.break_11_A;
+
+void main(){
+	foo:{
+		while(true){
+			break foo;
+		}
+	}
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/b/break_11_B.d	Sat Aug 13 21:36:50 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	BCS <BCS_member@pathlink.com>
+// @date@	2005-08-11
+// @uri@	news:ddfsnp$eit$1@digitaldaemon.com
+// @desc@	labeled breaks and labeled enclosing scopes
+
+// __DSTRESS_ELINE__ 17
+
+module dstress.nocompile.b.break_11_B;
+
+void main(){
+	foo:{
+		for(; true;){
+			break foo;
+		}
+	}
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/b/break_11_C.d	Sat Aug 13 21:36:50 2005 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	BCS <BCS_member@pathlink.com>
+// @date@	2005-08-11
+// @uri@	news:ddfsnp$eit$1@digitaldaemon.com
+// @desc@	labeled breaks and labeled enclosing scopes
+
+// __DSTRESS_ELINE__ 18
+
+module dstress.nocompile.b.break_11_C;
+
+void main(){
+	foo:{
+		switch(1){
+			default:{
+				break foo;
+			}
+		}
+	}
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/b/break_11_D.d	Sat Aug 13 21:36:50 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	BCS <BCS_member@pathlink.com>
+// @date@	2005-08-11
+// @uri@	news:ddfsnp$eit$1@digitaldaemon.com
+// @desc@	labeled breaks and labeled enclosing scopes
+
+// __DSTRESS_ELINE__ 17
+
+module dstress.nocompile.b.break_11_D;
+
+void main(){
+	foo:{
+		do{
+			break foo;
+		}while(true)
+	}
+}
\ No newline at end of file