changeset 528:9e0847cf535a

pre DMD-0.123 review Walter <walter@digitalmars.com> 2005-05-11 mail:00a301c5567d$489cbf20$0200a8c0@colossus
author thomask
date Thu, 12 May 2005 11:13:04 +0000
parents 9eb211f11783
children 924f45bc62e9
files compile/a/abstract_13.d nocompile/abstract_13.d nocompile/assert_08.d nocompile/assert_09.d nocompile/bounds_checking_05.d nocompile/bug_cg87_1240_A.d nocompile/bug_cg87_1240_B.d nocompile/bug_cg87_1240_C.d nocompile/bug_cg87_1240_D.d nocompile/bug_cg87_1240_E.d nocompile/bug_cg87_1240_F.d nocompile/c/creal_25.d nocompile/i/ireal_03.d nocompile/interface_16.d nocompile/o/opAddAssign_01.d nocompile/o/opSubAssign_01.d nocompile/o/override_10.d nocompile/opCmp_04.d nocompile/opDivAssign_12.d nocompile/opDivAssign_13.d nocompile/opDivAssign_14.d nocompile/opDiv_04.d nocompile/opDiv_05.d nocompile/opDiv_06.d nocompile/opEquals_03.d nocompile/opMulAssign_12.d nocompile/opMulAssign_13.d nocompile/opMulAssign_14.d nocompile/opMul_01.d nocompile/opMul_02.d nocompile/opMul_03.d nocompile/opMul_05.d nocompile/override_10.d nocompile/super_09.d nocompile/u/unittest_06.d nocompile/version_28.d norun/int_09.d run/b/bug_cg87_1240_A.d run/b/bug_cg87_1240_B.d run/b/bug_cg87_1240_C.d run/b/bug_cg87_1240_D.d run/b/bug_cg87_1240_E.d run/b/bug_cg87_1240_F.d run/creal_13.d run/creal_14.d run/creal_15.d run/creal_24.d run/creal_25.d run/init_04.d run/init_05.d run/ireal_03.d run/new_12.d run/new_13.d run/o/opDivAssign_12.d run/o/opDivAssign_13.d run/o/opDivAssign_14.d run/o/opDiv_04.d run/o/opDiv_05.d run/o/opDiv_06.d run/o/opMulAssign_12.d run/o/opMulAssign_13.d run/o/opMulAssign_14.d run/o/opMul_01.d run/o/opMul_02.d run/o/opMul_03.d run/opAddAssign_01.d run/opAddAssign_02.d run/opAddAssign_03.d run/opAddAssign_04.d run/opAddAssign_05.d run/opAddAssign_06.d run/opAddAssign_07.d run/opAddAssign_08.d run/opAddAssign_09.d run/opAddAssign_10.d run/opAddAssign_11.d run/opCatAssign_13.d run/opSubAssign_01.d run/opSubAssign_02.d run/opSubAssign_03.d run/opSubAssign_04.d run/opSubAssign_05.d run/opSubAssign_06.d run/opSubAssign_07.d run/opSubAssign_08.d run/opSubAssign_09.d run/opSubAssign_10.d run/opSubAssign_11.d run/overload_20.d run/overload_21.d run/rehash_01.d run/typeid_61.d run/unittest_03.d run/unittest_06.d run/unittest_08.d
diffstat 95 files changed, 545 insertions(+), 908 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/a/abstract_13.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Stewart Gordon
+// @date@	2004-09-24
+// @uri@	news:cj0qf6$2u2v$1@digitaldaemon.com
+// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/1940
+
+module dstress.compile.a.abstract_13;
+
+class A{
+	abstract void test(){
+	}
+}
+
--- a/nocompile/abstract_13.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon
-// @date@	2004-09-24
-// @uri@	news:cj0qf6$2u2v$1@digitaldaemon.com
-// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/1940
-
-// __DSTRESS__ELINE__ 15
-
-module dstress.nocompile.abstract_13;
-
-class A{
-	abstract void test(){
-	}
-}
-
--- a/nocompile/assert_08.d	Thu May 12 00:16:05 2005 +0000
+++ b/nocompile/assert_08.d	Thu May 12 11:13:04 2005 +0000
@@ -10,6 +10,6 @@
 
 module dstress.nocompile.assert_08;
 
-class A (T){
+class A{
 	static assert(0);
 }	
--- a/nocompile/assert_09.d	Thu May 12 00:16:05 2005 +0000
+++ b/nocompile/assert_09.d	Thu May 12 11:13:04 2005 +0000
@@ -10,6 +10,6 @@
 
 module dstress.nocompile.assert_09;
 
-struct A (T){
+struct A{
 	static assert(0);
 }	
--- a/nocompile/bounds_checking_05.d	Thu May 12 00:16:05 2005 +0000
+++ b/nocompile/bounds_checking_05.d	Thu May 12 11:13:04 2005 +0000
@@ -2,7 +2,7 @@
 // $Date$
 // $Author$
 
-// __DSTRESS_ELINE__ 11
+// __DSTRESS_ELINE__ 12
 
 module dstress.nocompile.bounds_checking_05;
 
--- a/nocompile/bug_cg87_1240_A.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	David L. Davis <SpottedTiger@yahoo.com>
-// @date@	2005-04-23
-// @uri@	news:d4cemj$mma$1@digitaldaemon.com
-
-// __DSTRESS_ELINE__ 16
-
-module dstress.nocompile.bug_cg87_1240_A;
-
-int main(){
-	real r;
- 
-	if (r > ireal.max){
-		assert(0);
-	}		
-	return 0;
-}
--- a/nocompile/bug_cg87_1240_B.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	David L. Davis <SpottedTiger@yahoo.com>
-// @date@	2005-04-23
-// @uri@	news:d4cemj$mma$1@digitaldaemon.com
-
-// __DSTRESS_ELINE__ 16
-
-module dstress.nocompile.bug_cg87_1240_B;
-
-int main(){
-	ireal r;
- 
-	if (r > real.max){
-		assert(0);
-	}		
-	return 0;
-}
--- a/nocompile/bug_cg87_1240_C.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	David L. Davis <SpottedTiger@yahoo.com>
-// @date@	2005-04-23
-// @uri@	news:d4cemj$mma$1@digitaldaemon.com
-
-// __DSTRESS_ELINE__ 16
-
-module dstress.nocompile.bug_cg87_1240_C;
-
-int main(){
-	float r;
- 
-	if (r < ifloat.max){
-		assert(0);
-	}		
-	return 0;
-}
--- a/nocompile/bug_cg87_1240_D.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	David L. Davis <SpottedTiger@yahoo.com>
-// @date@	2005-04-23
-// @uri@	news:d4cemj$mma$1@digitaldaemon.com
-
-// __DSTRESS_ELINE__ 16
-
-module dstress.nocompile.bug_cg87_1240_D;
-
-int main(){
-	ifloat r;
- 
-	if (r < float.max){
-		assert(0);
-	}		
-	return 0;
-}
--- a/nocompile/bug_cg87_1240_E.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	David L. Davis <SpottedTiger@yahoo.com>
-// @date@	2005-04-23
-// @uri@	news:d4cemj$mma$1@digitaldaemon.com
-
-// __DSTRESS_ELINE__ 16
-
-module dstress.nocompile.bug_cg87_1240_E;
-
-int main(){
-	double r;
- 
-	if (r == idouble.max){
-		assert(0);
-	}		
-	return 0;
-}
--- a/nocompile/bug_cg87_1240_F.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	David L. Davis <SpottedTiger@yahoo.com>
-// @date@	2005-04-23
-// @uri@	news:d4cemj$mma$1@digitaldaemon.com
-
-// __DSTRESS_ELINE__ 16
-
-module dstress.nocompile.bug_cg87_1240_F;
-
-int main(){
-	idouble r;
- 
-	if (r == double.max){
-		assert(0);
-	}		
-	return 0;
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/c/creal_25.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
+// @date@	2005-04-26
+// @uri@	news:pln1k2-5f3.ln1@lnews.kuehne.cn
+
+// __DSTRESS_ELINE__ 14 
+
+module dstress.nocompile.c.creal_25;
+
+void test{
+	creal c = 27Li;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/i/ireal_03.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
+// @date@	2005-04-26
+// @uri@	news:pln1k2-5f3.ln1@lnews.kuehne.cn
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.i.ireal_03;
+
+void test(){
+	ireal c = 27Li;
+}
--- a/nocompile/interface_16.d	Thu May 12 00:16:05 2005 +0000
+++ b/nocompile/interface_16.d	Thu May 12 11:13:04 2005 +0000
@@ -6,7 +6,7 @@
 // @date@	2005-04-20
 // @uri@	news:d452i6$2ker$1@digitaldaemon.com
 
-// __DSTRESS_ELINE__ 19
+// __DSTRESS_ELINE__ 16
 
 module dstress.nocompile.interface_16;
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/o/opAddAssign_01.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Stewart Gordon <smjg_1998@yahoo.com>
+// @date@	2005-04-18
+// @uri@	news:d402bj$nc0$6@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.o.opAddAssign_01;
+
+void test() {
+	byte x = 9;
+	byte y+=x;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/o/opSubAssign_01.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Stewart Gordon <smjg_1998@yahoo.com>
+// @date@	2005-04-18
+// @uri@	news:d402bj$nc0$6@digitaldaemon.com
+
+module dstress.run.opSubAssign_01;
+
+void dummy(...){
+}
+
+int main() {
+	byte x = 9;
+	dummy(x);
+	int y-=x;
+	assert(y==8);
+	assert(x==9);
+	return 0;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/o/override_10.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Sean Kelly <sean@f4.ca>
+// @date@	2005-04-15
+// @uri@	news:d3pa4s$17qk$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 21
+
+module dstress.nocompile.o.override_10;
+
+class C{
+}
+
+class D : C{
+	template fn() {
+		override void fn(){
+		}
+	}    
+	mixin fn;
+}
--- a/nocompile/opCmp_04.d	Thu May 12 00:16:05 2005 +0000
+++ b/nocompile/opCmp_04.d	Thu May 12 11:13:04 2005 +0000
@@ -6,7 +6,7 @@
 // @date@	2005-04-08
 // @uri@	news:opsow0pmwb6yjbe6@sandmann.maerchenwald.net
 
-// __DSTRESS_ELINE__ 14
+// __DSTRESS_ELINE__ 21
 
 module dstress.nocompile.opCmp_04;
 
@@ -15,3 +15,11 @@
 		return 0;
 	}
 }
+
+int main(){
+	TestStruct a, b;
+	if(a<b){
+		assert(0);
+	}
+	return 0;
+}
--- a/nocompile/opDivAssign_12.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opDivAssign_12;
-
-int main(){
-	ifloat i=1.0fi;
-	i /= 2.2;
-	return 0;
-}
--- a/nocompile/opDivAssign_13.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opDivAssign_13;
-
-int main(){
-	idouble i=1.0fi;
-	i /= 2.2;
-	return 0;
-}
--- a/nocompile/opDivAssign_14.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opDivAssign_14;
-
-int main(){
-	ireal i=1.0fi;
-	i /= 2.2f;
-	return 0;
-}
--- a/nocompile/opDiv_04.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opDiv_04;
-
-int main(){
-	ifloat i=1.0fi;
-	i = i / 2.2f;
-	return 0;
-}
--- a/nocompile/opDiv_05.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opDiv_05;
-
-int main(){
-	idouble i=1.0fi;
-	i = i / 2.2f;
-	return 0;
-}
--- a/nocompile/opDiv_06.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opDiv_06;
-
-int main(){
-	ireal i=1.0fi;
-	i = i / 2.2f;
-	return 0;
-}
--- a/nocompile/opEquals_03.d	Thu May 12 00:16:05 2005 +0000
+++ b/nocompile/opEquals_03.d	Thu May 12 11:13:04 2005 +0000
@@ -6,7 +6,7 @@
 // @date@	2005-04-08
 // @uri@	news:opsow0pmwb6yjbe6@sandmann.maerchenwald.net
 
-// __DSTRESS_ELINE__ 14
+// __DSTRESS_ELINE__ 21
 
 module dstress.nocompile.opEquals_03;
 
@@ -15,3 +15,11 @@
 		return 0;
 	}
 }
+
+int main(){
+	TestStruct a, b;
+	if(a==b){
+		assert(0);
+	}
+	return 0;
+}
--- a/nocompile/opMulAssign_12.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opMulAssign_12;
-
-int main(){
-	ifloat i=1.0fi;
-	i *= 2.2;
-	return 0;
-}
--- a/nocompile/opMulAssign_13.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opMulAssign_13;
-
-int main(){
-	idouble i=1.0fi;
-	i *= 2.2;
-	return 0;
-}
--- a/nocompile/opMulAssign_14.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opMulAssign_14;
-
-int main(){
-	ireal i=1.0fi;
-	i *= 2.2f;
-	return 0;
-}
--- a/nocompile/opMul_01.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opMul_01;
-
-int main(){
-	ifloat i=1.0fi;
-	i = i * 2.2f;
-	return 0;
-}
--- a/nocompile/opMul_02.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opMul_02;
-
-int main(){
-	idouble i=1.0i;
-	i = i * 2.2;
-	return 0;
-}
--- a/nocompile/opMul_03.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-// $HeadUR$
-// $Date$
-// $Author$
-
-// __DSTRESS_ELINE__ 11
-
-module dstress.nocompile.opMul_03;
-
-int main(){
-	ireal i=1.0i;
-	i = i * 2.2;
-	return 0;
-}
--- a/nocompile/opMul_05.d	Thu May 12 00:16:05 2005 +0000
+++ b/nocompile/opMul_05.d	Thu May 12 11:13:04 2005 +0000
@@ -8,6 +8,6 @@
 
 int main(){
 	double i=1.0;
-	i = i * 2.2;
+	i = i * 2.2i;
 	return 0;
 }
--- a/nocompile/override_10.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Sean Kelly <sean@f4.ca>
-// @date@	2005-04-15
-// @uri@	news:d3pa4s$17qk$1@digitaldaemon.com
-
-// __DSTRESS_ELINE__ 18
-
-module dstress.nocompile.override_10;
-
-class C{
-}
-
-class D : C{
-	template fn() {
-		override void fn(){
-		}
-	}    
-}
--- a/nocompile/super_09.d	Thu May 12 00:16:05 2005 +0000
+++ b/nocompile/super_09.d	Thu May 12 11:13:04 2005 +0000
@@ -7,27 +7,27 @@
 // @uri@	news:sr8p82-lu3.ln1@kuehne.cn
 // @url@	nntp://digitalmars.com/digitalmars.D.bugs/2528
 
-// call to "this" before "super"
+// call to "this" before "super"-constructor
 
-// __DSTRESS_ELINE__  26
+// __DSTRESS_ELINE__  25
 
 module dstress.nocompile.super_09;
 
-size_t status;
-
 class Parent{
 	this(int dummy){
+		x=2;
 	}
+	int x;
 }
 
 class Child : Parent{
 	this(){
-		status = cast(int) &this;
+		assert(x==2);
 		super(0);
 	}
 }
 
 int main(){
 	Child o = new Child();
-	return status & 0;
+	return 0;
 }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/unittest_06.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_DFLAGS__ 13
+
+module dstress.nocompile.u.unittest_06;
+
+int status;
+
+enum TestEnum{
+	x=2,
+	unittest{
+		status++;
+	}
+}
--- a/nocompile/version_28.d	Thu May 12 00:16:05 2005 +0000
+++ b/nocompile/version_28.d	Thu May 12 11:13:04 2005 +0000
@@ -2,7 +2,7 @@
 // $Date$
 // $Author$
 
-// __DSTRESS_ELINE__ 28
+// __DSTRESS_ELINE__ 9
 
 module dstress.nocompile.version_28;
 
--- a/norun/int_09.d	Thu May 12 00:16:05 2005 +0000
+++ b/norun/int_09.d	Thu May 12 11:13:04 2005 +0000
@@ -6,8 +6,6 @@
 // @date@	2005-04-12
 // @uri@	news:d3fgv1$1g8h$1@digitaldaemon.com
 
-// __DSTRESS_ELINE__ 15
-
 module dstress.norun.int_09;
 
 int main(){
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_cg87_1240_A.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	David L. Davis <SpottedTiger@yahoo.com>
+// @date@	2005-04-23
+// @uri@	news:d4cemj$mma$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.bug_cg87_1240_A;
+
+int main(){
+	real r;
+ 
+	if (r > ireal.max){
+		assert(0);
+	}		
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_cg87_1240_B.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	David L. Davis <SpottedTiger@yahoo.com>
+// @date@	2005-04-23
+// @uri@	news:d4cemj$mma$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.bug_cg87_1240_B;
+
+int main(){
+	ireal r;
+ 
+	if (r > real.max){
+		assert(0);
+	}		
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_cg87_1240_C.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	David L. Davis <SpottedTiger@yahoo.com>
+// @date@	2005-04-23
+// @uri@	news:d4cemj$mma$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.bug_cg87_1240_C;
+
+int main(){
+	float r;
+ 
+	if (r < ifloat.max){
+		assert(0);
+	}		
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_cg87_1240_D.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	David L. Davis <SpottedTiger@yahoo.com>
+// @date@	2005-04-23
+// @uri@	news:d4cemj$mma$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.bug_cg87_1240_D;
+
+int main(){
+	ifloat r;
+ 
+	if (r < float.max){
+		assert(0);
+	}		
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_cg87_1240_E.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	David L. Davis <SpottedTiger@yahoo.com>
+// @date@	2005-04-23
+// @uri@	news:d4cemj$mma$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.bug_cg87_1240_E;
+
+int main(){
+	double r;
+ 
+	if (r == idouble.max){
+		assert(0);
+	}		
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_cg87_1240_F.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	David L. Davis <SpottedTiger@yahoo.com>
+// @date@	2005-04-23
+// @uri@	news:d4cemj$mma$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.bug_cg87_1240_F;
+
+int main(){
+	idouble r;
+ 
+	if (r == double.max){
+		assert(0);
+	}		
+	return 0;
+}
--- a/run/creal_13.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/creal_13.d	Thu May 12 11:13:04 2005 +0000
@@ -5,6 +5,32 @@
 module dstress.run.creal_13;
 
 int main(){
-	assert(creal.init == real.init + ireal.init);
+	creal a;
+	creal b;
+	byte* X = cast(byte*)(cast(void*)&a);
+
+	b = real.init + ireal.init;
+	byte* Y = cast(byte*)(cast(void*)&b);
+
+	for(int i=0; i<a.sizeof; i++){
+		assert(X[i]==Y[i]);
+	}
+
+	real c;
+	real d=a.re;
+	X = cast(byte*)(cast(void*)&c);
+	Y = cast(byte*)(cast(void*)&d);
+
+	for(int i=0; i<c.sizeof; i++){
+		assert(X[i]==Y[i]);
+	}
+
+	d=a.im;
+	X = cast(byte*)(cast(void*)&c);
+	Y = cast(byte*)(cast(void*)&d);
+	for(int i=0; i<c.sizeof; i++){
+		assert(X[i]==Y[i]);
+	}
+	
 	return 0;
 }
--- a/run/creal_14.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/creal_14.d	Thu May 12 11:13:04 2005 +0000
@@ -5,6 +5,32 @@
 module dstress.run.creal_14;
 
 int main(){
-	assert(creal.infinity == real.infinity + ireal.infinity);
+	creal a = creal.infinity;
+	creal b;
+	byte* X = cast(byte*)(cast(void*)&a);
+
+	b = real.infinity + ireal.infinity;
+	byte* Y = cast(byte*)(cast(void*)&b);
+
+	for(int i=0; i<a.sizeof; i++){
+		assert(X[i]==Y[i]);
+	}
+
+	real c = real.infinity;
+	real d=a.re;
+	X = cast(byte*)(cast(void*)&c);
+	Y = cast(byte*)(cast(void*)&d);
+
+	for(int i=0; i<c.sizeof; i++){
+		assert(X[i]==Y[i]);
+	}
+
+	d=a.im;
+	X = cast(byte*)(cast(void*)&c);
+	Y = cast(byte*)(cast(void*)&d);
+	for(int i=0; i<c.sizeof; i++){
+		assert(X[i]==Y[i]);
+	}
+	
 	return 0;
 }
--- a/run/creal_15.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/creal_15.d	Thu May 12 11:13:04 2005 +0000
@@ -5,6 +5,32 @@
 module dstress.run.creal_15;
 
 int main(){
-	assert(creal.nan == real.nan + ireal.nan);
+	creal a = creal.nan;
+	creal b;
+	byte* X = cast(byte*)(cast(void*)&a);
+
+	b = real.nan + ireal.nan;
+	byte* Y = cast(byte*)(cast(void*)&b);
+
+	for(int i=0; i<a.sizeof; i++){
+		assert(X[i]==Y[i]);
+	}
+
+	real c= real.nan;
+	real d=a.re;
+	X = cast(byte*)(cast(void*)&c);
+	Y = cast(byte*)(cast(void*)&d);
+
+	for(int i=0; i<c.sizeof; i++){
+		assert(X[i]==Y[i]);
+	}
+
+	d=a.im;
+	X = cast(byte*)(cast(void*)&c);
+	Y = cast(byte*)(cast(void*)&d);
+	for(int i=0; i<c.sizeof; i++){
+		assert(X[i]==Y[i]);
+	}
+	
 	return 0;
 }
--- a/run/creal_24.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Nick <Nick_member@pathlink.com>
-// @date@	2005-04-25
-// @uri@	news:d4in6j$1nde$1@digitaldaemon.com
-
-module dstress.run.creal_24;
-
-int main(){
-	creal c = 27i;
-	assert(c.re==0.0L);
-	assert(c.im==27.0Li);
-	return 0;
-}
--- a/run/creal_25.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
-// @date@	2005-04-26
-// @uri@	news:pln1k2-5f3.ln1@lnews.kuehne.cn
-
-module dstress.run.creal_25;
-
-int main(){
-	creal c = 27Li;
-	assert(c.re==0.0L);
-	assert(c.im==27.0Li);
-	return 0;
-}
--- a/run/init_04.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/init_04.d	Thu May 12 11:13:04 2005 +0000
@@ -6,7 +6,7 @@
 
 int main(){
 	int i=2;
-	assert(int.init==i.init);
+	assert(int.init!=i.init);
 	assert(i==2);
 	return 0;
 }
--- a/run/init_05.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/init_05.d	Thu May 12 11:13:04 2005 +0000
@@ -6,7 +6,7 @@
 
 int main(){
 	float i=2f;
-	assert(float.init==i.init);
+	assert(float.init !<>= i.init);
 	assert(i==2f);
 	return 0;
 }
--- a/run/ireal_03.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
-// @date@	2005-04-26
-// @uri@	news:pln1k2-5f3.ln1@lnews.kuehne.cn
-
-module dstress.run.real_03;
-
-int main(){
-	ireal c = 27Li;
-	assert(c==27.0Li);
-	return 0;
-}
--- a/run/new_12.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/new_12.d	Thu May 12 11:13:04 2005 +0000
@@ -19,7 +19,7 @@
 
 int main(){
 	assert(counter==0);
-	MyStruct m=new MyStruct;
+	MyStruct* m=new MyStruct;
 	m.x=1;
 	assert(counter==1);
 	return 0;
--- a/run/new_13.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/new_13.d	Thu May 12 11:13:04 2005 +0000
@@ -19,7 +19,7 @@
 
 int main(){
 	assert(counter==0);
-	MyUnion m;
+	MyUnion* m = new MyUnion;
 	m.x=1;
 	assert(counter==1);
 	return 0;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opDivAssign_12.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,14 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opDivAssign_12;
+
+int main(){
+	ifloat i=8.0fi;
+	i /= 4.0f;
+
+	assert(i==2.0fi);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opDivAssign_13.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,14 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opDivAssign_13;
+
+int main(){
+	idouble i=8.0i;
+	i /= 4.0;
+
+	assert(i==2.0i);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opDivAssign_14.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,14 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opDivAssign_14;
+
+int main(){
+	ireal i=8.0Li;
+	i /= 4.0L;
+
+	assert(i==2.0Li);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opDiv_04.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,13 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opDiv_04;
+
+int main(){
+	ifloat i=8.0fi;
+	i = i / 4.0f;
+
+	assert(i==2.0fi);
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opDiv_05.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,14 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opDiv_05;
+
+int main(){
+	idouble i=8.0fi;
+	i = i / 4.0f;
+	
+	assert(i==2.0fi);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opDiv_06.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,14 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opDiv_06;
+
+int main(){
+	ireal i=8.0fi;
+	i = i / 4.0f;
+
+	assert(i==2.0fi);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opMulAssign_12.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,14 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opMulAssign_12;
+
+int main(){
+	ifloat i=2.0fi;
+	i *= 4.0f;
+
+	assert(i==8.0fi);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opMulAssign_13.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,14 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opMulAssign_13;
+
+int main(){
+	idouble i=2.0i;
+	i *= 4.0;
+
+	assert(i==8.0i);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opMulAssign_14.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,14 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opMulAssign_14;
+
+int main(){
+	ireal i=2.0Li;
+	i *= 4.0L;
+
+	assert(i==8.0Li);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opMul_01.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,12 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opMul_01;
+
+int main(){
+	ifloat i=2.0fi;
+	i = i * 4.0f;
+	assert(i==8.0fi):
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opMul_02.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,13 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opMul_02;
+
+int main(){
+	idouble i=2.0i;
+	i = i * 4.0;
+	assert(i==8.0i);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opMul_03.d	Thu May 12 11:13:04 2005 +0000
@@ -0,0 +1,12 @@
+// $HeadUR$
+// $Date$
+// $Author$
+
+module dstress.run.o.opMul_03;
+
+int main(){
+	ireal i=2.0Li;
+	i = i * 4.0Li;
+	assert(i==8.0Li);
+	return 0;
+}
--- a/run/opAddAssign_01.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_01;
-
-void dummy(...){
-}
-
-int main() {
-	byte x = 9;
-	dummy(x);
-	int y+=x;
-	assert(y==10);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opAddAssign_02.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_02;
-
-void dummy(...){
-}
-
-int main() {
-	ubyte x = 9;
-	dummy(x);
-	int y+=x;
-	assert(y==10);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opAddAssign_03.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_03;
-
-void dummy(...){
-}
-
-int main() {
-	short x = 9;
-	dummy(x);
-	int y+=x;
-	assert(y==10);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opAddAssign_04.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_04;
-
-void dummy(...){
-}
-
-int main() {
-	ushort x = 9;
-	dummy(x);
-	int y+=x;
-	assert(y==10);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opAddAssign_05.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_05;
-
-void dummy(...){
-}
-
-int main() {
-	int x = 9;
-	dummy(x);
-	int y+=x;
-	assert(y==10);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opAddAssign_06.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_06;
-
-void dummy(...){
-}
-
-int main() {
-	uint x = 9;
-	dummy(x);
-	int y+=x;
-	assert(y==10);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opAddAssign_07.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_07;
-
-void dummy(...){
-}
-
-int main() {
-	long x = 9;
-	dummy(x);
-	int y+=x;
-	assert(y==10);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opAddAssign_08.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_08;
-
-void dummy(...){
-}
-
-int main() {
-	ulong x = 9;
-	dummy(x);
-	int y+=x;
-	assert(y==10);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opAddAssign_09.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_09;
-
-void dummy(...){
-}
-
-int main() {
-	float x = 9f;
-	dummy(x);
-	float y+=x;
-	assert(y==10f);
-	assert(x==9f);
-	return 0;
-}
-
--- a/run/opAddAssign_10.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_10;
-
-void dummy(...){
-}
-
-int main() {
-	double x = 9;
-	dummy(x);
-	double y+=x;
-	assert(y==10);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opAddAssign_11.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opAddAssign_11;
-
-void dummy(...){
-}
-
-int main() {
-	real x = 9;
-	dummy(x);
-	real y+=x;
-	assert(y==10l);
-	assert(x==9l);
-	return 0;
-}
-
--- a/run/opCatAssign_13.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/opCatAssign_13.d	Thu May 12 11:13:04 2005 +0000
@@ -17,9 +17,9 @@
 	a~=b;
 	
 	assert(a.length==3);
-	assert(a[0]==0);
-	assert(a[1]==1);
-	assert(a[2]==2);
+	assert(a[0]==1);
+	assert(a[1]==2);
+	assert(a[2]==3);
 	
 	assert(b.length==1);
 	assert(b[0]==3);
--- a/run/opSubAssign_01.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_01;
-
-void dummy(...){
-}
-
-int main() {
-	byte x = 9;
-	dummy(x);
-	int y-=x;
-	assert(y==8);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opSubAssign_02.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_02;
-
-void dummy(...){
-}
-
-int main() {
-	ubyte x = 9;
-	dummy(x);
-	int y-=x;
-	assert(y==8);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opSubAssign_03.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_03;
-
-void dummy(...){
-}
-
-int main() {
-	short x = 9;
-	dummy(x);
-	int y-=x;
-	assert(y==8);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opSubAssign_04.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_04;
-
-void dummy(...){
-}
-
-int main() {
-	ushort x = 9;
-	dummy(x);
-	int y-=x;
-	assert(y==8);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opSubAssign_05.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_05;
-
-void dummy(...){
-}
-
-int main() {
-	int x = 9;
-	dummy(x);
-	int y-=x;
-	assert(y==8);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opSubAssign_06.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_06;
-
-void dummy(...){
-}
-
-int main() {
-	uint x = 9;
-	dummy(x);
-	int y-=x;
-	assert(y==8);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opSubAssign_07.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_07;
-
-void dummy(...){
-}
-
-int main() {
-	long x = 9;
-	dummy(x);
-	int y-=x;
-	assert(y==8);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opSubAssign_08.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_08;
-
-void dummy(...){
-}
-
-int main() {
-	ulong x = 9;
-	dummy(x);
-	int y-=x;
-	assert(y==8);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opSubAssign_09.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_09;
-
-void dummy(...){
-}
-
-int main() {
-	float x = 9f;
-	dummy(x);
-	float y-=x;
-	assert(y==8f);
-	assert(x==9f);
-	return 0;
-}
-
--- a/run/opSubAssign_10.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_10;
-
-void dummy(...){
-}
-
-int main() {
-	double x = 9;
-	dummy(x);
-	double y-=x;
-	assert(y==8);
-	assert(x==9);
-	return 0;
-}
-
--- a/run/opSubAssign_11.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Stewart Gordon <smjg_1998@yahoo.com>
-// @date@	2005-04-18
-// @uri@	news:d402bj$nc0$6@digitaldaemon.com
-
-module dstress.run.opSubAssign_11;
-
-void dummy(...){
-}
-
-int main() {
-	real x = 9l;
-	dummy(x);
-	real y-=x;
-	assert(y==8l);
-	assert(x==9l);
-	return 0;
-}
-
--- a/run/overload_20.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/overload_20.d	Thu May 12 11:13:04 2005 +0000
@@ -20,10 +20,10 @@
 
 int main(){
 	assert(Foo.init(2L)==1);
-	Foo f = new Foo;
+	Foo* f = new Foo;
 	assert(Foo.init(3L)==1);
-	assert(f.init(4L)==1);
-	assert(f.init(5)==0);
+	assert((*f).init(4L)==1);
+	assert((*f).init(5)==0);
 	return 0;
 }
 
--- a/run/overload_21.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/overload_21.d	Thu May 12 11:13:04 2005 +0000
@@ -20,10 +20,10 @@
 
 int main(){
 	assert(Foo.init(2L)==1);
-	Foo f = new Foo;
+	Foo* f = new Foo;
 	assert(Foo.init(3L)==1);
-	assert(f.init(4L)==1);
-	assert(f.init(5)==0);
+	assert((*f).init(4L)==1);
+	assert((*f).init(5)==0);
 	return 0;
 }
 
--- a/run/rehash_01.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/rehash_01.d	Thu May 12 11:13:04 2005 +0000
@@ -13,7 +13,7 @@
 	assert(array.length==3);
 	
 	int[char[]] rehashed=array.rehash;
-	assert(&rehashed==&array);
+	assert(rehashed is array);
 
 	char[][] key = array.keys;
 	assert(key.length==3);
--- a/run/typeid_61.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/typeid_61.d	Thu May 12 11:13:04 2005 +0000
@@ -8,7 +8,7 @@
 int main(){
 	TypeInfo ti = typeid(char);
 	assert(!(ti is null));
-	assert(ti.tsize==(char*).sizeof);
+	assert(ti.tsize==(char).sizeof);
 	assert(ti.toString()=="char");
 	return 0;
 }
--- a/run/unittest_03.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/unittest_03.d	Thu May 12 11:13:04 2005 +0000
@@ -2,6 +2,8 @@
 // $Date$
 // $Author$
 
+// __DSTRESS_DFLAGS__ -unittest
+
 module dstress.run.unittest_03;
 
 int status;
--- a/run/unittest_06.d	Thu May 12 00:16:05 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// __DSTRESS_DFLAGS__ -unittest
-
-module dstress.run.unittest_06;
-
-int status;
-
-enum TestEnum{
-	x=2,
-	unittest{
-		status++;
-	}
-}
-
-int main(){
-	assert(status==1);
-	return 0;
-}
--- a/run/unittest_08.d	Thu May 12 00:16:05 2005 +0000
+++ b/run/unittest_08.d	Thu May 12 11:13:04 2005 +0000
@@ -10,35 +10,40 @@
 module dstress.run.unittest_08;
 
 int status;
+int mixinCount;
 
 static this(){
 	assert(status==0);
-	status=1;
+	status++;
 }
 
 unittest{
 	assert(status==1);
-	status==2;
+	status++;
 }
 
 template Templ(T){
 	int dummy;
 	unittest{
-		assert(status==2);
-		status==3;
+		assert(status==3+(mixinCount++));
+		status++;
 	}
 }
 
 class MyClass{
 	unittest{
-		assert(status==3);
-		status==4;
+		assert(status==2);
+		status++;
 	}
 
 	mixin Templ!(int);	
 }
 
+mixin Templ!(int);
+
+mixin Templ!(void);
+
 int main(){
-	assert(status==4);
+	assert(status==6);
 	return 0;
 }