view nocompile/t/typeinfo_02_C.d @ 1518:5b8f89bc1b52

fixed typo
author thomask
date Fri, 27 Apr 2007 17:21:55 +0000
parents daef239f37cf
children
line wrap: on
line source

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

// @author@	david <davidl@126.com>
// @date@	2006-10-26
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=462
// @desc@	[Issue 462] New: invalid typeinfo usage breaks dmd compiler

// __DSTRESS_ELINE__ 17

module dstress.nocompile.t.typeinfo_02_C;

void foo(){
	int[1] x;
	int y;
	x[0].typeinfo = y.typeinfo;
}