Mercurial > projects > dstress
annotate run/inline_09.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | d3a3e0c251d8 |
children |
rev | line source |
---|---|
295 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn> | |
6 // @date@ 2005-02-19 | |
7 // @uri@ news:cv77ei$27mv$3@digitaldaemon.com | |
1384 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3017 |
295 | 9 |
10 module dstress.compile.inline_09; | |
11 | |
12 struct MyStruct{ | |
13 static int bug() { | |
14 return 3; | |
15 } | |
16 } | |
17 | |
18 int main(){ | |
19 assert(MyStruct.bug()==3); | |
20 return 0; | |
736 | 21 } |