view run/s/string_postfix_06_C.d @ 1560:36bedfa079e6

D1 -> D2 : 2/N
author thomask
date Sun, 19 Aug 2007 19:15:01 +0000
parents 1e6afb94ce6d
children
line wrap: on
line source

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

module dstress.run.s.string_postfix_06_C;

int test(string a){
	return a.length;
}

int test(wstring a){
	return a.length + 100;
}

int test(dstring a){
	return a.length + 10000;
}

int main(){
	assert(test("a"d "b"d)==10002);
	return 0;
}