view run/default_argument_06.d @ 140:a33ad7189d21

1) news:// -> news: 2) nttp://.../...:... -> nntp://.../.../... 3) added missing mime types 4) added line ending styles 5) added missing keywords
author thomask
date Tue, 16 Nov 2004 16:00:10 +0000
parents 9eda85342d8a
children e77e4444c170
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @autor@	tetsuya <tetsuya_member@pathlink.com>
// @date@	2004-11-15
// @uri@	news:cnaidd$2rnr$1@digitaldaemon.com
// @url@	nntp://digitalmars.com/digitalmars.D.bugs/2275

module dstress.run.default_argument_06;

template Template(int L){
	int i=L;
	int test(int b = i) {
		return b;
	}
}

int main(){
	mixin Template!(10);
	assert(test()==10);
	return 0;
}