Mercurial > projects > dstress
changeset 825:046934763666
bobef <bobef@lessequal.com>
2006-01-11
news:dsk9hb$ugh$1@digitaldaemon.com
author | thomask |
---|---|
date | Sat, 11 Feb 2006 16:34:25 +0000 |
parents | 3adc48be5016 |
children | 2559f0f5baad |
files | addon/private_10_Z.d nocompile/p/private_10_E.d nocompile/p/private_10_F.d nocompile/p/private_10_G.d nocompile/p/private_10_H.d run/p/private_10_A.d run/p/private_10_B.d run/p/private_10_C.d run/p/private_10_D.d |
diffstat | 9 files changed, 209 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/addon/private_10_Z.d Sat Feb 11 16:34:25 2006 +0000 @@ -0,0 +1,53 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ bobef <bobef@lessequal.com> +// @date@ 2006-01-11 +// @uri@ news:dsk9hb$ugh$1@digitaldaemon.com + +module /*dstress.*/addon.p.private_10_Z; + + +// foo + +public int foo(){ + return 0; +} + +private int foo(int i){ + return i + 1; +} + + +// test + +private int test(){ + return 2; +} + +public int test(int i){ + return i + 3; +} + + +// bar + +private int bar(int i){ + return i + 4; +} + +public int bar(){ + return 5; +} + + +// check + +public int check(int i){ + return i + 6; +} + +private int check(){ + return 7; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/p/private_10_E.d Sat Feb 11 16:34:25 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ bobef <bobef@lessequal.com> +// @date@ 2006-01-11 +// @uri@ news:dsk9hb$ugh$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 18 +// __DSTRESS_DFLAGS__ addon/private_10_Z.d + +module dstress.nocompile.p.private_10_E; + +import addon.private_10_Z; + + +void main(){ + int i = foo(1); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/p/private_10_F.d Sat Feb 11 16:34:25 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ bobef <bobef@lessequal.com> +// @date@ 2006-01-11 +// @uri@ news:dsk9hb$ugh$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 18 +// __DSTRESS_DFLAGS__ addon/private_10_Z.d + +module dstress.nocompile.p.private_10_F; + +import addon.private_10_Z; + + +void main(){ + int i = test(); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/p/private_10_G.d Sat Feb 11 16:34:25 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ bobef <bobef@lessequal.com> +// @date@ 2006-01-11 +// @uri@ news:dsk9hb$ugh$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 18 +// __DSTRESS_DFLAGS__ addon/private_10_Z.d + +module dstress.nocompile.p.private_10_G; + +import addon.private_10_Z; + + +void main(){ + int i = bar(1); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/p/private_10_H.d Sat Feb 11 16:34:25 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ bobef <bobef@lessequal.com> +// @date@ 2006-01-11 +// @uri@ news:dsk9hb$ugh$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 18 +// __DSTRESS_DFLAGS__ addon/private_10_Z.d + +module dstress.nocompile.p.private_10_H; + +import addon.private_10_Z; + + +void main(){ + int i = check(); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/p/private_10_A.d Sat Feb 11 16:34:25 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ bobef <bobef@lessequal.com> +// @date@ 2006-01-11 +// @uri@ news:dsk9hb$ugh$1@digitaldaemon.com + +// __DSTRESS_DFLAGS__ addon/private_10_Z.d + +module dstress.run.p.private_10_A; + +import addon.private_10_Z; + + +int main(){ + if(foo() == 0){ + return 0; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/p/private_10_B.d Sat Feb 11 16:34:25 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ bobef <bobef@lessequal.com> +// @date@ 2006-01-11 +// @uri@ news:dsk9hb$ugh$1@digitaldaemon.com + +// __DSTRESS_DFLAGS__ addon/private_10_Z.d + +module dstress.run.p.private_10_B; + +import addon.private_10_Z; + + +int main(){ + if(test(20) == 23){ + return 0; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/p/private_10_C.d Sat Feb 11 16:34:25 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ bobef <bobef@lessequal.com> +// @date@ 2006-01-11 +// @uri@ news:dsk9hb$ugh$1@digitaldaemon.com + +// __DSTRESS_DFLAGS__ addon/private_10_Z.d + +module dstress.run.p.private_10_C; + +import addon.private_10_Z; + + +int main(){ + if(bar() == 5){ + return 0; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/p/private_10_D.d Sat Feb 11 16:34:25 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ bobef <bobef@lessequal.com> +// @date@ 2006-01-11 +// @uri@ news:dsk9hb$ugh$1@digitaldaemon.com + +// __DSTRESS_DFLAGS__ addon/private_10_Z.d + +module dstress.run.p.private_10_D; + +import addon.private_10_Z; + + +int main(){ + if(check(20) == 26){ + return 0; + } +}