view run/c/const_25_A.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
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;
}