changeset 152:5b69c210daee

added foreach(in/out ...) tests
author thomask
date Wed, 24 Nov 2004 09:09:42 +0000
parents f50665879ed4
children ce33adb482a7
files nocompile/foreach_17.d nocompile/foreach_18.d
diffstat 2 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/foreach_17.d	Wed Nov 24 09:09:42 2004 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// onyl "" and "inout" are as modifiers allowed
+
+module dstress.nocompile.foreach_17;
+
+int main(){
+	char[] string
+	foreach(in char c; string){
+		
+	}
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/foreach_18.d	Wed Nov 24 09:09:42 2004 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// onyl "" and "inout" are as modifiers allowed
+
+module dstress.nocompile.foreach_18;
+
+int main(){
+	char[] string
+	foreach(out char c; string){
+		
+	}
+	return 0;
+}