view undefined/default_argument_11_A.d @ 1589:c82cb55ee1ea

Fix module headers. Move static_34_A to nocompile: cannot call new for a nested class within a static function.
author Christian Kamm <kamm incasoftware de>
date Mon, 25 Aug 2008 22:05:07 +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;
}