# HG changeset patch # User thomask # Date 1166878727 0 # Node ID 660f9196b52a517653d434332d5e933e987d7a5c # Parent c99e8aac0e0ce99f3f2ce371d7808a0c43b42222 partial review diff -r c99e8aac0e0c -r 660f9196b52a nocompile/o/opAssign_21_A.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/o/opAssign_21_A.d Sat Dec 23 12:58:47 2006 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kühne +// @date@ 2006-12-23 + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.o.opMulAssign_21_A; + +void foo(){ + ifloat a = 1.0fi; + a *= 2.0fi; +} + diff -r c99e8aac0e0c -r 660f9196b52a nocompile/o/opAssign_21_B.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/o/opAssign_21_B.d Sat Dec 23 12:58:47 2006 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kühne +// @date@ 2006-12-23 + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.o.opMulAssign_21_B; + +void foo(){ + idouble a = 1.0i; + a *= 2.0i; +} + diff -r c99e8aac0e0c -r 660f9196b52a nocompile/o/opAssign_21_C.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/o/opAssign_21_C.d Sat Dec 23 12:58:47 2006 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kühne +// @date@ 2006-12-23 + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.o.opMulAssign_21_C; + +void foo(){ + ireal a = 1.0Li; + a *= 2.0Li; +} + diff -r c99e8aac0e0c -r 660f9196b52a nocompile/p/pointer_01_A.d --- a/nocompile/p/pointer_01_A.d Fri Dec 22 13:17:55 2006 +0000 +++ b/nocompile/p/pointer_01_A.d Sat Dec 23 12:58:47 2006 +0000 @@ -6,7 +6,7 @@ // @date@ 2005-09-02 // @uri@ news:df9of8$pj5$1@digitaldaemon.com -// __DSTRESS_ELINE__ 20 +// __DSTRESS_ELINE__ 21 module dstress.nocompile.p.pointer_01_A; @@ -14,8 +14,9 @@ } int f(int i){ + return 0; } void main(){ void* v = &f; -} \ No newline at end of file +} diff -r c99e8aac0e0c -r 660f9196b52a nocompile/p/pointer_01_B.d --- a/nocompile/p/pointer_01_B.d Fri Dec 22 13:17:55 2006 +0000 +++ b/nocompile/p/pointer_01_B.d Sat Dec 23 12:58:47 2006 +0000 @@ -6,11 +6,12 @@ // @date@ 2005-09-02 // @uri@ news:df9of8$pj5$1@digitaldaemon.com -// __DSTRESS_ELINE__ 20 +// __DSTRESS_ELINE__ 21 module dstress.nocompile.p.pointer_01_B; int f(int i){ + return 0; } void f(){ @@ -18,4 +19,4 @@ void main(){ void* v = &f; -} \ No newline at end of file +} diff -r c99e8aac0e0c -r 660f9196b52a nocompile/s/set_01_A.d --- a/nocompile/s/set_01_A.d Fri Dec 22 13:17:55 2006 +0000 +++ b/nocompile/s/set_01_A.d Sat Dec 23 12:58:47 2006 +0000 @@ -4,7 +4,7 @@ // Porting: C# -// __DSTRESS_ELINE__ 15 +// __DSTRESS_ELINE__ 14 module dstress.nocompile.s.set_01_A; diff -r c99e8aac0e0c -r 660f9196b52a nocompile/s/set_01_B.d --- a/nocompile/s/set_01_B.d Fri Dec 22 13:17:55 2006 +0000 +++ b/nocompile/s/set_01_B.d Sat Dec 23 12:58:47 2006 +0000 @@ -4,7 +4,7 @@ // Porting: C# -// __DSTRESS_ELINE__ 15 +// __DSTRESS_ELINE__ 14 module dstress.nocompile.s.set_01_B; diff -r c99e8aac0e0c -r 660f9196b52a nocompile/t/typeof_14_A.d --- a/nocompile/t/typeof_14_A.d Fri Dec 22 13:17:55 2006 +0000 +++ b/nocompile/t/typeof_14_A.d Sat Dec 23 12:58:47 2006 +0000 @@ -7,7 +7,7 @@ // @uri@ news:bug-405-3@http.d.puremagic.com/issues/ // @desc@ [Issue 405] New: typeof in TemplateParameterList causes compiletime segmentfault -// __DSTRESS_ELINE__ 13 +// __DSTRESS_ELINE__ 14 module dstress.nocompile.t.typeof_14_A; diff -r c99e8aac0e0c -r 660f9196b52a nocompile/t/typeof_14_B.d --- a/nocompile/t/typeof_14_B.d Fri Dec 22 13:17:55 2006 +0000 +++ b/nocompile/t/typeof_14_B.d Sat Dec 23 12:58:47 2006 +0000 @@ -7,7 +7,7 @@ // @uri@ news:bug-405-3@http.d.puremagic.com/issues/ // @desc@ [Issue 405] New: typeof in TemplateParameterList causes compiletime segmentfault -// __DSTRESS_ELINE__ 13 +// __DSTRESS_ELINE__ 14 module dstress.nocompile.t.typeof_14_B; diff -r c99e8aac0e0c -r 660f9196b52a run/ieee_754_zerosdq_03.d --- a/run/ieee_754_zerosdq_03.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/ieee_754_zerosdq_03.d Sat Dec 23 12:58:47 2006 +0000 @@ -35,13 +35,13 @@ } s.f = 0.0fi; - s.f *= 1.0fi; + s.f *= 1.0f; if(s.i != 0x00000000){ assert(0); } s.f = 0.0fi; - s.f *= -1.0fi; + s.f *= -1.0f; if(s.i != 0x80000000){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/ieee_754_zerosdq_04.d --- a/run/ieee_754_zerosdq_04.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/ieee_754_zerosdq_04.d Sat Dec 23 12:58:47 2006 +0000 @@ -38,13 +38,13 @@ } s.f = 0.0i; - s.f *= 1.0i; + s.f *= 1.0; if(s.i[top] != 0x00000000){ assert(0); } s.f = 0.0i; - s.f *= -1.0i; + s.f *= -1.0; if(s.i[top] != 0x80000000){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/o/overload_23.d --- a/run/o/overload_23.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/o/overload_23.d Sat Dec 23 12:58:47 2006 +0000 @@ -32,7 +32,7 @@ } Base bd = new Derived; - if(bd.name != "derived"){ + if(bd.name != "base"){ assert(0); } return 0; diff -r c99e8aac0e0c -r 660f9196b52a run/o/overload_24.d --- a/run/o/overload_24.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/o/overload_24.d Sat Dec 23 12:58:47 2006 +0000 @@ -31,12 +31,12 @@ } Derived d = new Derived; - if(d.test != "derived"){ + if(d.test != "base"){ assert(0); } Base bd = new Derived; - if(bd.test != "derived"){ + if(bd.test != "base"){ assert(0); } return 0; diff -r c99e8aac0e0c -r 660f9196b52a run/p/private_09_A.d --- a/run/p/private_09_A.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/p/private_09_A.d Sat Dec 23 12:58:47 2006 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-12-17 // @uri@ news:do2bam$2ab0$1@digitaldaemon.com +// __DSTRESS_TORTURE_BLOCK__ -release + module dstress.run.p.private_09_A; class Base{ diff -r c99e8aac0e0c -r 660f9196b52a run/p/private_09_B.d --- a/run/p/private_09_B.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/p/private_09_B.d Sat Dec 23 12:58:47 2006 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-12-17 // @uri@ news:do2bam$2ab0$1@digitaldaemon.com +// __DSTRESS_TORTURE_BLOCK__ -release + module dstress.run.p.private_09_B; class Base (T) { diff -r c99e8aac0e0c -r 660f9196b52a run/p/private_09_C.d --- a/run/p/private_09_C.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/p/private_09_C.d Sat Dec 23 12:58:47 2006 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-12-17 // @uri@ news:do2bam$2ab0$1@digitaldaemon.com +// __DSTRESS_TORTURE_BLOCK__ -release + module dstress.run.p.private_09_C; class Base { diff -r c99e8aac0e0c -r 660f9196b52a run/p/private_09_D.d --- a/run/p/private_09_D.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/p/private_09_D.d Sat Dec 23 12:58:47 2006 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-12-17 // @uri@ news:do2bam$2ab0$1@digitaldaemon.com +// __DSTRESS_TORTURE_BLOCK__ -release + module dstress.run.p.private_09_D; class Base(T){ diff -r c99e8aac0e0c -r 660f9196b52a run/ptr_04.d --- a/run/ptr_04.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/ptr_04.d Sat Dec 23 12:58:47 2006 +0000 @@ -7,7 +7,9 @@ int main(){ Object[0] array; - assert(!(array.ptr is null)); + if(!(array.ptr is null)){ + assert(0); + } return 0; } diff -r c99e8aac0e0c -r 660f9196b52a run/struct_initialization_06.d --- a/run/struct_initialization_06.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/struct_initialization_06.d Sat Dec 23 12:58:47 2006 +0000 @@ -11,10 +11,10 @@ struct A { int one; - int two[4]; + int[4] two = 2; } -A a = { one:1, two:2 }; +A a = { one:1 }; int main(){ if(a.one != 1){ diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_40_B.d --- a/run/t/template_40_B.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_40_B.d Sat Dec 23 12:58:47 2006 +0000 @@ -21,10 +21,10 @@ } int main(){ - if(! is(Bar.Inner!())){ + if(! is(typeof(Bar.Inner!()) == int)){ assert(0); } - if(! is(Bar.dummy)){ + if(! is(typeof(Bar.dummy) == int)){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_M.d --- a/run/t/template_class_13_M.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_M.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const cfloat b = -0.8f - 0.1fi; C!(b) sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_N.d --- a/run/t/template_class_13_N.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_N.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const cfloat b = -0.8f - 0.1fi; C!(b) sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_O.d --- a/run/t/template_class_13_O.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_O.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const cfloat b = -0.8f - 0.1fi; auto sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_P.d --- a/run/t/template_class_13_P.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_P.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const cfloat b = -0.8f - 0.1fi; auto sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_Q.d --- a/run/t/template_class_13_Q.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_Q.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const cdouble b = -0.8 - 0.1i; C!(b) sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_R.d --- a/run/t/template_class_13_R.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_R.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const cdouble b = -0.8 - 0.1i; C!(b) sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_S.d --- a/run/t/template_class_13_S.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_S.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const cdouble b = -0.8 - 0.1i; auto sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_T.d --- a/run/t/template_class_13_T.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_T.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const cdouble b = -0.8 - 0.1i; auto sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_U.d --- a/run/t/template_class_13_U.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_U.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const creal b = -0.8L - 0.1Li; C!(b) sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_V.d --- a/run/t/template_class_13_V.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_V.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const creal b = -0.8L - 0.1Li; C!(b) sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_W.d --- a/run/t/template_class_13_W.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_W.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const creal b = -0.8L - 0.1Li; auto sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); } diff -r c99e8aac0e0c -r 660f9196b52a run/t/template_class_13_X.d --- a/run/t/template_class_13_X.d Fri Dec 22 13:17:55 2006 +0000 +++ b/run/t/template_class_13_X.d Sat Dec 23 12:58:47 2006 +0000 @@ -17,7 +17,7 @@ const creal b = -0.8L - 0.1Li; auto sb = new C!(b); - if(sa.cf != b){ + if(sb.cf != b){ assert(0); }