diff run/array_initialization_03.d @ 111:24da167d3f07

svn maintenance 1) mime types 2) end of line property 3) updated links in the result page
author thomask
date Sun, 07 Nov 2004 08:37:27 +0000
parents 659bb018c489
children a33ad7189d21
line wrap: on
line diff
--- a/run/array_initialization_03.d	Sat Nov 06 21:55:48 2004 +0000
+++ b/run/array_initialization_03.d	Sun Nov 07 08:37:27 2004 +0000
@@ -1,30 +1,30 @@
-// @author@	tetsuya <tetsuya_member@pathlink.com>
-// @date@	2004-10-29
-// @uri@	news://cltnob$2qnk$1@digitaldaemon.com
-// @url@	nttp://digitalmars.com/digitalmars.D.bugs:2162
-
-module dstress.run.array_initialization_03;
-
-// dmd 1.04, winXP
-
-template Foo(T, int L){
-	T[L] arr;
-	class Bar {
-		T[L] arr;
-	}
-}
-
-void test(){
-	alias Foo!(int, 100) foo;
-	foreach (int x; foo.arr)
-		assert(x == int.init);	// initialized, no problem
-
-	foo.Bar bar = new foo.Bar();
-	foreach (int x; bar.arr)
-		assert(x == int.init);	// not initialized, fails
-}
-
-int main(){
-	test();
-	return 0;
-}
+// @author@	tetsuya <tetsuya_member@pathlink.com>
+// @date@	2004-10-29
+// @uri@	news://cltnob$2qnk$1@digitaldaemon.com
+// @url@	nttp://digitalmars.com/digitalmars.D.bugs:2162
+
+module dstress.run.array_initialization_03;
+
+// dmd 1.04, winXP
+
+template Foo(T, int L){
+	T[L] arr;
+	class Bar {
+		T[L] arr;
+	}
+}
+
+void test(){
+	alias Foo!(int, 100) foo;
+	foreach (int x; foo.arr)
+		assert(x == int.init);	// initialized, no problem
+
+	foo.Bar bar = new foo.Bar();
+	foreach (int x; bar.arr)
+		assert(x == int.init);	// not initialized, fails
+}
+
+int main(){
+	test();
+	return 0;
+}