Mercurial > projects > dstress
view undefined/default_argument_11_A.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | 549bdf42bf7d |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Unknown W. Brackets <unknown@simplemachines.org> // @date@ 2006-02-19 // @uri@ news:dtb7ee$gjq$1@digitaldaemon.com module dstress.undefined.default_argument_11_A; void test(inout int i = 5){ assert(i == 5); } int main(){ int i; test(i); assert(i == 5); return 0; }