Mercurial > projects > dstress
changeset 602:58c17111478f
post PFLUG catch up 1
author | thomask |
---|---|
date | Mon, 18 Jul 2005 09:35:40 +0000 |
parents | 9156914a7518 |
children | d49e22280d75 |
files | nocompile/o/cast_28.d nocompile/o/opAssign_01_A.d nocompile/o/opAssign_01_B.d |
diffstat | 3 files changed, 50 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/o/cast_28.d Mon Jul 18 09:35:40 2005 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ kenny <funisher@gmail.com> +// @date@ 2005-07-17 +// @uri@ news:dbcphe$2s0d$1@digitaldaemon.com + +module dstress.nocompile.o.cast_28; + +void main(){ + char[] data; + bit* pData; + + pData = &cast(bit*) data; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/o/opAssign_01_A.d Mon Jul 18 09:35:40 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Chris Sauls <ibisbasenji@gmail.com> +// @date@ Jul 2005-07-18 +// @uri@ news:dbfiit$29h3$1@digitaldaemon.com + +module dstress.nocompile.o.opAssign_01_A; + +void func(inout int[] x){ +} + +void main(){ + int[] foo, bar; + func(bar = foo.dup); +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/o/opAssign_01_B.d Mon Jul 18 09:35:40 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Chris Sauls <ibisbasenji@gmail.com> +// @date@ Jul 2005-07-18 +// @uri@ news:dbfiit$29h3$1@digitaldaemon.com + +module dstress.nocompile.o.opAssign_01_B; + +void func(inout int x){ +} + +void main(){ + int foo, bar; + func(bar = foo); +} \ No newline at end of file