view nocompile/a/alias_39_A.d @ 1320:daef239f37cf

sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author thomask
date Sun, 31 Dec 2006 19:59:08 +0000
parents 8c922e000a6d
children
line wrap: on
line source

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

// @author@	Bradley Smith <digitalmars-com@baysmith.com>
// @date@	2006-10-06
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=402
// @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);
}