changeset 1213:90676a1cf4ac

[Issue 461] New: Constant not understood to be constant when circular module dependency exists. <digitalmars-com@baysmith.com> 2006-10-26 news:bug-461-3@http.d.puremagic.com/issues/
author thomask
date Wed, 08 Nov 2006 15:24:16 +0000
parents e672593be3e5
children a457151d9c6f
files compile/c/const_40_A.d compile/c/const_40_B.d compile/c/const_40_C.d compile/c/const_40_D.d
diffstat 4 files changed, 56 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/c/const_40_A.d	Wed Nov 08 15:24:16 2006 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<digitalmars-com@baysmith.com>
+// @date@	2006-10-26
+// @uri@	news:bug-461-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 461] New: Constant not understood to be constant when circular module dependency exists.
+
+module /*dstress.*/compile.c.const_40_A;
+
+import /*dstress.*/compile.c.const_40_B;
+
+const int A = 7;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/c/const_40_B.d	Wed Nov 08 15:24:16 2006 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<digitalmars-com@baysmith.com>
+// @date@	2006-10-26
+// @uri@	news:bug-461-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 461] New: Constant not understood to be constant when circular module dependency exists.
+
+module /*dstress.*/compile.c.const_40_B;
+
+import /*dstress.*/compile.c.const_40_A;
+
+char[A] s;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/c/const_40_C.d	Wed Nov 08 15:24:16 2006 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<digitalmars-com@baysmith.com>
+// @date@	2006-10-26
+// @uri@	news:bug-461-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 461] New: Constant not understood to be constant when circular module dependency exists.
+
+module /*dstress.*/compile.c.const_40_C;
+
+char[A] s;
+
+import /*dstress.*/compile.c.const_40_D;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/c/const_40_D.d	Wed Nov 08 15:24:16 2006 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<digitalmars-com@baysmith.com>
+// @date@	2006-10-26
+// @uri@	news:bug-461-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 461] New: Constant not understood to be constant when circular module dependency exists.
+
+module /*dstress.*/compile.c.const_40_D;
+
+import /*dstress.*/compile.c.const_40_C;
+
+char[A] s;