Mercurial > projects > dstress
annotate run/bug_todt_194_B.d @ 266:8a0f597f549a
fixed bug_todt_194
author | thomask |
---|---|
date | Fri, 04 Feb 2005 00:02:02 +0000 |
parents | nocompile/bug_todt_194_B.d@fd1663a1f2dd |
children | 0eb25b549476 |
rev | line source |
---|---|
265 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ zwang <nehzgnaw@gmail.com> | |
6 // @date@ 2005-02-03 | |
7 // @uri@ news:cttjcg$44f$1@digitaldaemon.com | |
8 | |
266 | 9 module dstress.run.bug_todt_194_B; |
265 | 10 |
266 | 11 int main(){ |
12 assert(new MyStruct!().i==int.sizeof); | |
13 return 0; | |
265 | 14 } |
15 | |
16 struct MyStruct(){ | |
17 int i=func(0).sizeof; | |
18 } | |
19 | |
266 | 20 int func(...){ |
21 return 0; | |
22 } | |
265 | 23 |