Mercurial > projects > dstress
diff run/static_25.d @ 214:ff42f2c64363
extended static class/union member tests
author | thomask |
---|---|
date | Sun, 26 Dec 2004 22:19:33 +0000 |
parents | |
children | 52c9e86b6486 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/static_25.d Sun Dec 26 22:19:33 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_25; + +void foo(){ + class MyClass{ + static int x; + } +} + +void foo(int i){ + class MyClass{ + static int x; + } +} + +int main(){ + return 0; +}