changeset 445:c0dd17f9030b

big array crash zwang <nehzgnaw@gmail.com> 2005-04-17 news:d3sq2j$1086$1@digitaldaemon.com
author thomask
date Mon, 18 Apr 2005 07:21:15 +0000
parents 0c20d706bca3
children 58425c356fce
files run/array_initialization_08.d run/array_initialization_09.d run/array_initialization_10.d
diffstat 3 files changed, 48 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/array_initialization_08.d	Mon Apr 18 07:21:15 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	zwang <nehzgnaw@gmail.com>
+// @date@	2005-04-17
+// @uri@	news:d3sq2j$1086$1@digitaldaemon.com
+
+
+module dstress.run.array_initialization_08;
+
+int main(){
+	static char a[int.max/32];
+	return 0;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/array_initialization_09.d	Mon Apr 18 07:21:15 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	zwang <nehzgnaw@gmail.com>
+// @date@	2005-04-17
+// @uri@	news:d3sq2j$1086$1@digitaldaemon.com
+
+
+module dstress.run.array_initialization_09;
+
+int main(){
+	char a[int.max/32];
+	return 0;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/array_initialization_10.d	Mon Apr 18 07:21:15 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	zwang <nehzgnaw@gmail.com>
+// @date@	2005-04-17
+// @uri@	news:d3sq2j$1086$1@digitaldaemon.com
+
+
+module dstress.run.array_initialization_10;
+
+int main(){
+	static char a[int.max/32]= [0];
+	return 0;
+}
+