Mercurial > projects > dstress
changeset 555:1300c1aab744
StaticIfCondition (nocompile)
author | thomask |
---|---|
date | Sat, 21 May 2005 19:32:38 +0000 |
parents | f562f0755fea |
children | 5cfc11e8cfce |
files | nocompile/s/static_if_01_A.d nocompile/s/static_if_01_B.d nocompile/s/static_if_01_C.d nocompile/s/static_if_01_D.d nocompile/s/static_if_02_A.d nocompile/s/static_if_02_B.d nocompile/s/static_if_02_C.d nocompile/s/static_if_03_A.d nocompile/s/static_if_03_B.d |
diffstat | 9 files changed, 113 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/static_if_01_A.d Sat May 21 19:32:38 2005 +0000 @@ -0,0 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 9 + +module dstress.nocompile.s.static_if_01_A; + +static if (1) + int i; \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/static_if_01_B.d Sat May 21 19:32:38 2005 +0000 @@ -0,0 +1,9 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 9 + +module dstress.nocompile.s.static_if_01_B; + +static if (1) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/static_if_01_C.d Sat May 21 19:32:38 2005 +0000 @@ -0,0 +1,9 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 9 + +module dstress.nocompile.s.static_if_01_C; + +static if \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/static_if_01_D.d Sat May 21 19:32:38 2005 +0000 @@ -0,0 +1,9 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 9 + +module dstress.nocompile.s.static_if_01_D; + +static if else \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/static_if_02_A.d Sat May 21 19:32:38 2005 +0000 @@ -0,0 +1,13 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.s.static_if_02_A; + +void test(){ + int i; + static if(i){ + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/static_if_02_B.d Sat May 21 19:32:38 2005 +0000 @@ -0,0 +1,14 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 12 + +module dstress.nocompile.s.static_if_02_B; + +int i; + +void test(){ + static if(i){ + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/static_if_02_C.d Sat May 21 19:32:38 2005 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.s.static_if_02_C; + +void test(int x){ + static int i; +} + +void test(){ + static if(i){ + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/static_if_03_A.d Sat May 21 19:32:38 2005 +0000 @@ -0,0 +1,14 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 12 + +module dstress.nocompile.s.static_if_03_A; + +void test(){ + int i; + static if(1){ + int i; + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/static_if_03_B.d Sat May 21 19:32:38 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 18 + +module dstress.nocompile.s.static_if_03_B; + +void test(){ + static if(1){ + int a; + static if(1){ + int b; + static if(1) + int i; + } + } + int i; +} \ No newline at end of file