view run/t/template_21_B.d @ 1586:a74f0139fc3d

Fix tests using typeof on types.
author Christian Kamm <kamm incasoftware de>
date Thu, 21 Aug 2008 15:42:21 +0200
parents 61617b6d35af
children
line wrap: on
line source

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

module dstress.run.t.template_21_B;

template T(dchar[] c){
	dchar[] x = c;
}

int main(){
	assert(T!("abc").x == "abc");
	assert(T!(null).x is null);

	return 0;
}