Mercurial > projects > dstress
changeset 213:d7f9263ec932
static struct members
h3r3tic <foo@bar.baz>
2004-12-26
news:cqmmre$1vvo$1@digitaldaemon.com
nntp://digitalmars.com/digitalmars.D.bugs/2605
author | thomask |
---|---|
date | Sun, 26 Dec 2004 21:35:21 +0000 |
parents | a1b5ea8ffe68 |
children | ff42f2c64363 |
files | run/static_20.d run/static_21.d run/static_22.d run/static_23.d |
diffstat | 4 files changed, 100 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/static_20.d Sun Dec 26 21:35:21 2004 +0000 @@ -0,0 +1,26 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ h3r3tic <foo@bar.baz> +// @date@ 2004-12-26 +// @uri@ news:cqmmre$1vvo$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2605 + +module dstress.run.static_20; + +void foo(){ + struct MyStruct{ + int x; + } +} + +void foo(int i){ + struct MyStruct{ + int x; + } +} + +int main(){ + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/static_21.d Sun Dec 26 21:35:21 2004 +0000 @@ -0,0 +1,26 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ h3r3tic <foo@bar.baz> +// @date@ 2004-12-26 +// @uri@ news:cqmmre$1vvo$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2605 + +module dstress.run.static_21; + +void foo(){ + struct MyStruct{ + static int x; + } +} + +void foo(int i){ + struct MyStruct{ + static int x; + } +} + +int main(){ + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/static_22.d Sun Dec 26 21:35:21 2004 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ h3r3tic <foo@bar.baz> +// @date@ 2004-12-26 +// @uri@ news:cqmmre$1vvo$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2605 + +module dstress.run.static_22; + +struct MyStruct{ + static int x; +} + +void foo(int i){ + struct MyStruct{ + static int x; + } +} + +int main(){ + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/static_23.d Sun Dec 26 21:35:21 2004 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ h3r3tic <foo@bar.baz> +// @date@ 2004-12-26 +// @uri@ news:cqmmre$1vvo$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2605 + +module dstress.run.static_23; + +struct MyStruct{ + int x; +} + +void foo(int i){ + struct MyStruct{ + static int x; + } +} + +int main(){ + return 0; +} \ No newline at end of file