Mercurial > projects > dstress
annotate nocompile/inline_07.d @ 870:38ea1bb385b6
bit -> bool and __DSTRESS_TORTURE_BLOCK__ fixes
author | thomask |
---|---|
date | Sun, 26 Feb 2006 17:45:46 +0000 |
parents | 0ea4c218a3ee |
children | 52c9e86b6486 |
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 | |
8 // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3017 | |
9 | |
870 | 10 // __DSTRESS_TORTURE_BLOCK__ -release |
11 // __DSTRESS_ELINE__ 22 | |
295 | 12 |
13 module dstress.nocompile.inline_07; | |
14 | |
15 struct MyStruct{ | |
16 int bug() { | |
17 return 3; | |
18 } | |
19 } | |
20 | |
21 int main(){ | |
22 assert(MyStruct.bug()==3); | |
23 return 0; | |
870 | 24 } |