view run/t/template_class_13_A.d @ 753:61617b6d35af

updated test cases to DMD-0.140
author thomask
date Sat, 26 Nov 2005 08:51:44 +0000
parents
children b8c0195059d9
line wrap: on
line source

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

// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
// @date@	2005-11-26
// @uri@	news:sd7l53-p6d.ln1@birke.kuehne.cn

module dstress.run.t.template_class_13_A;

class C(float f){
	float cf = f;
}

int main(){
	const float a = 1.2;
	auto sa = new C!(a);
	assert(sa.cf == a);

	return 0;
}