Mercurial > projects > dstress
diff run/static_23.d @ 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 | |
children | 52c9e86b6486 |
line wrap: on
line diff
--- /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