Mercurial > projects > dstress
changeset 590:95fa7f1ce1c9
reclasification
author | thomask |
---|---|
date | Wed, 22 Jun 2005 11:23:07 +0000 |
parents | cd9e16090bb9 |
children | 34b3845d0e2a |
files | nocompile/o/opCat_07_A.d nocompile/o/opCat_07_B.d run/o/opCat_07_A.d run/o/opCat_07_B.d |
diffstat | 4 files changed, 40 insertions(+), 40 deletions(-) [+] |
line wrap: on
line diff
--- a/nocompile/o/opCat_07_A.d Wed Jun 22 11:13:23 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ Regan Heath <regan@netwin.co.nz> -// @date@ 2005-05-26 -// @uri@ news:opsrb0xvou23k2f5@nrage.netwin.co.nz -// @desc@ Internal error: e2ir.c 488 (char 00914B24) (0x811ad08) - -// __DSTRESS_ELINE__ 19 - -module dstress.nocompile.o.opCat_07_A; - -void foo(char[] s){ -} - -int main(){ - char c = '?'; - foo("is this it"~c~" yep!"); - return 0; -}
--- a/nocompile/o/opCat_07_B.d Wed Jun 22 11:13:23 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ Regan Heath <regan@netwin.co.nz> -// @date@ 2005-05-26 -// @uri@ news:opsrb0xvou23k2f5@nrage.netwin.co.nz -// @desc@ Internal error: e2ir.c 488 (char 00914B24) (0x811ad08) - -// __DSTRESS_ELINE__ 17 - -module dstress.nocompile.o.opCat_07_B; - -int main(){ - char c = '?'; - char[] s; - s = s ~ c ~ s; - return 0; -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opCat_07_A.d Wed Jun 22 11:23:07 2005 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Regan Heath <regan@netwin.co.nz> +// @date@ 2005-05-26 +// @uri@ news:opsrb0xvou23k2f5@nrage.netwin.co.nz +// @desc@ Internal error: e2ir.c 488 (char 00914B24) (0x811ad08) + +module dstress.run.o.opCat_07_A; + +void foo(char[] s){ + assert(s=="is this it? yep!") +} + +int main(){ + char c = '?'; + foo("is this it"~c~" yep!"); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/opCat_07_B.d Wed Jun 22 11:23:07 2005 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Regan Heath <regan@netwin.co.nz> +// @date@ 2005-05-26 +// @uri@ news:opsrb0xvou23k2f5@nrage.netwin.co.nz +// @desc@ Internal error: e2ir.c 488 (char 00914B24) (0x811ad08) + +module dstress.run.o.opCat_07_B; + +int main(){ + char c = '?'; + char[] s="a"; + s = s ~ c ~ s; + + assert(s=="a?a"); + + return 0; +}