view undefined/default_argument_11_A.d @ 1596:9bd08b3d5299

Fixed extra brackets in opCall_02_C. See D bug 135.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:42:11 +0200
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;
}