Mercurial > projects > dstress
changeset 1129:ebdd9f048c3d
lazy in main
Carlos Santander <csantander619@gmail.com>
2006-09-05
news:edk63e$2a8n$1@digitaldaemon.com
author | thomask |
---|---|
date | Thu, 07 Sep 2006 07:51:45 +0000 |
parents | 02b54d874f0f |
children | c1e1978eed98 |
files | nocompile/m/main_07_A.d nocompile/m/main_07_B.d |
diffstat | 2 files changed, 32 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/main_07_A.d Thu Sep 07 07:51:45 2006 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Carlos Santander <csantander619@gmail.com> +// @date@ 2006-09-05 +// @uri@ news:edk63e$2a8n$1@digitaldaemon.com +// @desc@ lazy in main + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.m.main_07_A; + +int main (lazy char [][] args){ + return args.length; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/main_07_B.d Thu Sep 07 07:51:45 2006 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Carlos Santander <csantander619@gmail.com> +// @date@ 2006-09-05 +// @uri@ news:edk63e$2a8n$1@digitaldaemon.com +// @desc@ lazy in main + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.m.main_07_B; + +void main (lazy char [][] args){ + size_t l = args.length; +}