Mercurial > projects > dstress
view run/in_out_body_04.d @ 1383:52c9e86b6486
@url@ -> @uri@
author | thomask |
---|---|
date | Sun, 04 Mar 2007 13:07:35 +0000 |
parents | 1e6afb94ce6d |
children | 6e4063f99377 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Buchan <kbuchan@xtra.co.nz> // @date@ 2004-11-14 // @uri@ news:opshfzxz0b44buww@simon.homenet // @uri@ nntp://digitalmars.com/digitalmars.D.bugs/2262 // __DSTRESS_TORTURE_BLOCK__ -release module dstress.run.in_out_body_04; void outer(){ int inner() in{ assert(1); }out (result){ assert(result==1); }body{ return 1; } assert(inner==1); } int main(){ outer(); return 0; }