changeset 954:05e38ca7e533

<ericanderton@yahoo.com> 2006-04-08 news:bug-95-3@http.d.puremagic.com/bugzilla/
author thomask
date Sun, 09 Apr 2006 06:50:39 +0000
parents 12cfdd8bffb5
children e53c25fb5575
files run/f/foreach_35_A.d run/f/foreach_35_B.d run/f/foreach_35_C.d
diffstat 3 files changed, 57 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/f/foreach_35_A.d	Sun Apr 09 06:50:39 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<ericanderton@yahoo.com>
+// @date@	2006-04-08
+// @uri@	news:bug-95-3@http.d.puremagic.com/bugzilla/
+
+module dstress.run.f.foreach_35_A;
+
+int main(){
+	int[] array;
+	foreach(int elem; array){
+		assert(0);
+	}
+
+	return 0;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/f/foreach_35_B.d	Sun Apr 09 06:50:39 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<ericanderton@yahoo.com>
+// @date@	2006-04-08
+// @uri@	news:bug-95-3@http.d.puremagic.com/bugzilla/
+
+module dstress.run.f.foreach_35_B;
+
+int main(){
+	int[int] array;
+	foreach(int elem; array){
+		assert(0);
+	}
+
+	return 0;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/f/foreach_35_C.d	Sun Apr 09 06:50:39 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<ericanderton@yahoo.com>
+// @date@	2006-04-08
+// @uri@	news:bug-95-3@http.d.puremagic.com/bugzilla/
+
+module dstress.run.f.foreach_35_C;
+
+int main(){
+	int[int[]] array;
+	foreach(int elem; array){
+		assert(0);
+	}
+
+	return 0;
+}
+