view nocompile/t/typeof_12_A.d @ 1173:03cf19fff541

Bruno Medeiros <brunodomedeiros+bugz@gmail.com> 2006-09-26 news:bug-368-3@http.d.puremagic.com/issues/ [Issue 368] New: "immediate"-function types allowed as the return type of functions.
author thomask
date Fri, 06 Oct 2006 06:56:38 +0000
parents
children daef239f37cf
line wrap: on
line source

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

// @author@	Bruno Medeiros <brunodomedeiros+bugz@gmail.com>
// @date@	2006-09-26
// @uri@	news:bug-368-3@http.d.puremagic.com/issues/
// @desc@	[Issue 368] New: "immediate"-function types allowed as the return type of functions.

// __DSTRESS_ELINE__ 17

module dstress.nocompile.t.typeof_12_A;

void func(int a) {
}

typeof(func) test() {
	if(true)
		throw new Exception("");
}