changeset 718:f7eb9ff67f0b

Stewart Gordon <smjg_1998@yahoo.com> 2005-10-26 news:djnicb$1a5t$1@digitaldaemon.com
author thomask
date Fri, 28 Oct 2005 21:27:15 +0000
parents 9b7e729025c2
children de0ff320fb08
files run/i/import_11_A.d run/i/import_11_B.d
diffstat 2 files changed, 37 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/i/import_11_A.d	Fri Oct 28 21:27:15 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Stewart Gordon <smjg_1998@yahoo.com>
+// @date@	2005-10-26
+// @uri@	news:djnicb$1a5t$1@digitaldaemon.com
+
+// __DSTRESS_DFLAGS__ run/i/import_11_B.d
+
+module /*dstress.*/run.i.import_11_A;
+import /*dstress.*/run.i.import_11_B;
+
+int array[Enum.max + 1];
+
+int main(){
+	assert(array.length == 3);
+	return 0;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/i/import_11_B.d	Fri Oct 28 21:27:15 2005 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Stewart Gordon <smjg_1998@yahoo.com>
+// @date@	2005-10-26
+// @uri@	djnicb$1a5t$1@digitaldaemon.com
+
+// __DSTRESS_DFLAGS__ run/i/import_11_A.d
+
+module /*dstress.*/run.i.import_11_B;
+import /*dstress.*/run.i.import_11_A;
+
+enum Enum {
+	A = -1,
+	B = 2
+}