Mercurial > projects > dstress
changeset 636:c16014387a02
Stewart Gordon <smjg_1998@yahoo.com>
2005-08-16
news:ddtark$os1$1@digitaldaemon.com
author | thomask |
---|---|
date | Wed, 17 Aug 2005 21:27:11 +0000 |
parents | 2e6f4da338cd |
children | b16d46b603aa |
files | nocompile/v/void_02_A.d nocompile/v/void_02_B.d run/v/void_02_C.d |
diffstat | 3 files changed, 47 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/v/void_02_A.d Wed Aug 17 21:27:11 2005 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Stewart Gordon <smjg_1998@yahoo.com> +// @date@ 2005-08-16 +// @uri@ news:ddtark$os1$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 17 + +module dstress.nocompile.v.void_02_A; + +void dummy(...){ +} + +void main(){ + dummy(void.init); +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/v/void_02_B.d Wed Aug 17 21:27:11 2005 +0000 @@ -0,0 +1,13 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Stewart Gordon <smjg_1998@yahoo.com> +// @date@ 2005-08-16 +// @uri@ news:ddtark$os1$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 13 + +module dstress.nocompile.v.void_02_B; + +void[10] array; \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/v/void_02_C.d Wed Aug 17 21:27:11 2005 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Stewart Gordon <smjg_1998@yahoo.com> +// @date@ 2005-08-16 +// @uri@ news:ddtark$os1$1@digitaldaemon.com + +module dstress.run.v.void_02_C; + +void[10] array = void; + +int main(){ + assert(array.length==10); + return 0; +}