view nocompile/a/alias_39_A.d @ 1178:8c922e000a6d

[Issue 402] New: compiler crash with mixin and forward reference Bradley Smith <digitalmars-com@baysmith.com> 2006-10-06 news:bug-402-3@http.d.puremagic.com/issues/
author thomask
date Fri, 06 Oct 2006 06:57:05 +0000
parents
children daef239f37cf
line wrap: on
line source

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

// @author@	Bradley Smith <digitalmars-com@baysmith.com>
// @date@	2006-10-06
// @uri@	news:bug-402-3@http.d.puremagic.com/issues/
// @desc@	[Issue 402] New: compiler crash with mixin and forward reference

// __DSTRESS_ELINE__ 21

module dstress.nocompile.a.alias_39_A;

template Foo(alias b){
	int a() {
		return b;
	}
}

void test(){
	mixin Foo!(y);
}