Mercurial > projects > dstress
view run/default_argument_03.d @ 870:38ea1bb385b6
bit -> bool and __DSTRESS_TORTURE_BLOCK__ fixes
author | thomask |
---|---|
date | Sun, 26 Feb 2006 17:45:46 +0000 |
parents | f87ba6507260 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.default_argument_03; int test(bool b=1){ return b; } int main(){ assert(test()==1); assert(test(true)==1); assert(test(false)==0); return 0; }