Mercurial > projects > dstress
annotate 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 |
rev | line source |
---|---|
214 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ h3r3tic <foo@bar.baz> | |
6 // @date@ 2004-12-26 | |
7 // @uri@ news:cqmmre$1vvo$1@digitaldaemon.com | |
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2605 | |
9 | |
10 module dstress.run.static_25; | |
11 | |
12 void foo(){ | |
13 class MyClass{ | |
14 static int x; | |
15 } | |
16 } | |
17 | |
18 void foo(int i){ | |
19 class MyClass{ | |
20 static int x; | |
21 } | |
22 } | |
23 | |
24 int main(){ | |
25 return 0; | |
26 } |