Mercurial > projects > dstress
annotate run/static_25.d @ 1576:b3e16c86558e
[Issue 1398] New: GDC doesn't generate correct code
<mariusmuja@gmail.com>
2007-08-04
http://d.puremagic.com/issues/show_bug.cgi?id=1398
author | thomask |
---|---|
date | Thu, 21 Feb 2008 15:20:08 +0000 |
parents | 6e4063f99377 |
children |
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 | |
1487 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2605 |
214 | 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 } |