view run/c/const_25_A.d @ 1560:36bedfa079e6

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

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

module dstress.run.c.const_25_A;

class C{
	const x = 4.0;
}

int main(){
	if(typeid(typeof(C.x)).toString() != "double"){
		assert(0);
	}

	return 0;
}