Mercurial > projects > dstress
changeset 900:c87fab2c0689
<thomas-dloop@kuehne.cn>
2006-03-09
news:bug-29-3@http.d.puremagic.com/bugzilla/
author | thomask |
---|---|
date | Thu, 09 Mar 2006 21:08:33 +0000 |
parents | 1c1270e78fdb |
children | b0dd3e91e54b |
files | nocompile/s/scope_08_A.d nocompile/s/scope_08_B.d nocompile/s/scope_08_C.d undefined/scope_08_D.d undefined/scope_08_E.d undefined/scope_08_F.d |
diffstat | 6 files changed, 104 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/scope_08_A.d Thu Mar 09 21:08:33 2006 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-03-09 +// @uri@ news:bug-29-3@http.d.puremagic.com/bugzilla/ + +// __DESTRESS_ELINE__ 15 + +module dstress.nocompile.s.scope_08_A; + +void main(){ + scope(exit){ + return 0; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/scope_08_B.d Thu Mar 09 21:08:33 2006 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-03-09 +// @uri@ news:bug-29-3@http.d.puremagic.com/bugzilla/ + +// __DESTRESS_ELINE__ 15 + +module dstress.nocompile.s.scope_08_B; + +void main(){ + scope(success){ + return 0; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/scope_08_C.d Thu Mar 09 21:08:33 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-03-09 +// @uri@ news:bug-29-3@http.d.puremagic.com/bugzilla/ + +// __DESTRESS_ELINE__ 15 + +module dstress.nocompile.s.scope_08_C; + +void main(){ + scope(failure){ + return 0; + } + + throw new Exception("msg"); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/undefined/scope_08_D.d Thu Mar 09 21:08:33 2006 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-03-09 +// @uri@ news:bug-29-3@http.d.puremagic.com/bugzilla/ + +module dstress.undefined.scope_08_D; + +int main(){ + scope(exit){ + return 0; + } + + return 1; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/undefined/scope_08_E.d Thu Mar 09 21:08:33 2006 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-03-09 +// @uri@ news:bug-29-3@http.d.puremagic.com/bugzilla/ + +module dstress.undefined.scope_08_E; + +int main(){ + scope(success){ + return 0; + } + + return 1; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/undefined/scope_08_F.d Thu Mar 09 21:08:33 2006 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-03-09 +// @uri@ news:bug-29-3@http.d.puremagic.com/bugzilla/ + +module dstress.undefined.scope_08_F; + +int main(){ + scope(failure){ + return 0; + } + + throw new Exception("msg"); +}