Mercurial > projects > dstress
view nocompile/inline_07.d @ 1383:52c9e86b6486
@url@ -> @uri@
author | thomask |
---|---|
date | Sun, 04 Mar 2007 13:07:35 +0000 |
parents | 38ea1bb385b6 |
children | d3a3e0c251d8 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn> // @date@ 2005-02-19 // @uri@ news:cv77ei$27mv$3@digitaldaemon.com // @uri@ nntp://news.digitalmars.com/digitalmars.D.bugs/3017 // __DSTRESS_TORTURE_BLOCK__ -release // __DSTRESS_ELINE__ 22 module dstress.nocompile.inline_07; struct MyStruct{ int bug() { return 3; } } int main(){ assert(MyStruct.bug()==3); return 0; }