changeset 511:50a9bd194e33

pre DMD-0.120 cgcod.c 1445 crash David Medlock <amedlock@nospam.org> 2005-05-04 news:d5b26o$2g7r$1@digitaldaemon.com
author thomask
date Tue, 10 May 2005 23:49:42 +0000
parents ef1faa3f2bf7
children 9f7e0ec4c6d7
files compile/bug_cgcod_1445_C.d
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/bug_cgcod_1445_C.d	Tue May 10 23:49:42 2005 +0000
@@ -0,0 +1,19 @@
+// $HeadURL: http://dstress.kuehne.cn/compile/bug_cgcod_1445_C.d $
+// $Date: 2005-05-06 11:35:44 +0200 (Fr, 06 Mai 2005) $
+// $Author: thomask $
+
+// @author@	David Medlock <amedlock@nospam.org>
+// @date@	2005-05-04
+// @uri@	news:d5b26o$2g7r$1@digitaldaemon.com
+
+module dstress.compile.bug_cgcod_1445_C;
+
+static int[1][5] array = [[1],[2],[3],[4],[5] ];
+
+void Lookup(int which){
+	switch(which){
+		case 0:
+		return array[which];
+	}
+}
+