view run/s/string_postfix_06_B.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
parents 36bedfa079e6
children
line wrap: on
line source

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

module dstress.run.s.string_postfix_06_B;

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"w "b"w)==102);
	return 0;
}