Mercurial > projects > dstress
annotate run/static_28.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_28; | |
11 | |
12 union MyUnion{ | |
13 static int x; | |
14 } | |
15 | |
16 void foo(int i){ | |
17 union MyUnione{ | |
18 static int x; | |
19 } | |
20 } | |
21 | |
22 int main(){ | |
23 return 0; | |
24 } |