view compile/m/mangleof_16_C.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 daef239f37cf
children
line wrap: on
line source

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

// @author@	<clugdbug@yahoo.com.au>
// @date@	2006-06-23
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=220

module dstress.compile.m.mangleof_16_C;

alias int delegate (int) x;

template T(char[] str){
	const int T = 1;
}

static assert(T!(x.mangleof));