Mercurial > projects > dstress
view run/default_argument_03.d @ 1611:9f94be6a5ace
Fix typo in last commit.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 10 May 2009 10:56:43 +0200 |
parents | 38ea1bb385b6 |
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; }