changeset 858:3446efc90696

Don Clugston <dac@nospam.com.au> 2006-02-22 news:dthlsr$1t9a$1@digitaldaemon.com
author thomask
date Fri, 24 Feb 2006 05:37:40 +0000
parents 33178712ec71
children 1c98e13430f1
files compile/a/assert_14_A.d compile/a/assert_14_D.d compile/a/assert_14_E.d compile/a/assert_14_G.d compile/a/assert_14_J.d nocompile/a/assert_14_B.d nocompile/a/assert_14_C.d nocompile/a/assert_14_F.d nocompile/a/assert_14_H.d nocompile/a/assert_14_I.d
diffstat 10 files changed, 210 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/a/assert_14_A.d	Fri Feb 24 05:37:40 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <dac@nospam.com.au>
+// @date@	2006-02-22
+// @uri@	news:dthlsr$1t9a$1@digitaldaemon.com
+
+module dstress.compile.a.assert_14_A;
+
+template cat(){
+	static assert(1);
+	const int cat = 3;
+}
+
+static assert(cat!() == 3);
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/a/assert_14_D.d	Fri Feb 24 05:37:40 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <dac@nospam.com.au>
+// @date@	2006-02-22
+// @uri@	news:dthlsr$1t9a$1@digitaldaemon.com
+
+module dstress.compile.a.assert_14_D;
+
+template cat(){
+	static if(1){
+		static assert(1);
+		const int cat = 3;
+	}
+}
+
+static assert(cat!() == 3);
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/a/assert_14_E.d	Fri Feb 24 05:37:40 2006 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <dac@nospam.com.au>
+// @date@	2006-02-22
+// @uri@	news:dthlsr$1t9a$1@digitaldaemon.com
+
+module dstress.compile.a.assert_14_E;
+
+template cat(){
+	static if(1){
+		static if(1){
+			static assert(1);
+			const int cat = 3;
+		}
+	}
+}
+
+static assert(cat!() == 3);
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/a/assert_14_G.d	Fri Feb 24 05:37:40 2006 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <dac@nospam.com.au>
+// @date@	2006-02-22
+// @uri@	news:dthlsr$1t9a$1@digitaldaemon.com
+
+module dstress.nocompile.a.assert_14_G;
+
+template cat(){
+	static if(1){
+		static assert(1);
+		static if(1){
+			const int cat = 3;
+		}
+	}
+}
+
+static assert(cat!() == 3);
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/a/assert_14_J.d	Fri Feb 24 05:37:40 2006 +0000
@@ -0,0 +1,23 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <dac@nospam.com.au>
+// @date@	2006-02-22
+// @uri@	news:dthlsr$1t9a$1@digitaldaemon.com
+
+module dstress.compile.a.assert_14_J;
+
+template cat(uint x){
+	static assert(x % 2);
+	static if(1){
+		static assert(x != 3);
+		static if(1){
+			static assert(x < 10);
+			const int cat = 3;
+		}
+	}
+}
+
+static assert(cat!(5) == 3);
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/assert_14_B.d	Fri Feb 24 05:37:40 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <dac@nospam.com.au>
+// @date@	2006-02-22
+// @uri@	news:dthlsr$1t9a$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.a.assert_14_B;
+
+template cat(){
+	static assert(0);
+	const int cat = 3;
+}
+
+static assert(cat!() == 3);
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/assert_14_C.d	Fri Feb 24 05:37:40 2006 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <dac@nospam.com.au>
+// @date@	2006-02-22
+// @uri@	news:dthlsr$1t9a$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.a.assert_14_C;
+
+template cat(){
+	static if(1){
+		static assert(0);
+		const int cat = 3;
+	}
+}
+
+static assert(cat!() == 3);
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/assert_14_F.d	Fri Feb 24 05:37:40 2006 +0000
@@ -0,0 +1,23 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <dac@nospam.com.au>
+// @date@	2006-02-22
+// @uri@	news:dthlsr$1t9a$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.a.assert_14_F;
+
+template cat(){
+	static if(1){
+		static if(1){
+			static assert(0);
+			const int cat = 3;
+		}
+	}
+}
+
+static assert(cat!() == 3);
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/assert_14_H.d	Fri Feb 24 05:37:40 2006 +0000
@@ -0,0 +1,23 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <dac@nospam.com.au>
+// @date@	2006-02-22
+// @uri@	news:dthlsr$1t9a$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.a.assert_14_H;
+
+template cat(){
+	static if(1){
+		static assert(0);
+		static if(1){
+			const int cat = 3;
+		}
+	}
+}
+
+static assert(cat!() == 3);
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/assert_14_I.d	Fri Feb 24 05:37:40 2006 +0000
@@ -0,0 +1,23 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <dac@nospam.com.au>
+// @date@	2006-02-22
+// @uri@	news:dthlsr$1t9a$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.a.assert_14_I;
+
+template cat(){
+	static assert(0);
+	static if(1){
+		static if(1){
+			const int cat = 3;
+		}
+	}
+}
+
+static assert(cat!() == 3);
+