view compile/b/bug_e2ir_772_J.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 1a8e36e7f765
children
line wrap: on
line source

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

// @author@	Vathix <chris@dprogramming.com>
// @date@	2006-09-17
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=354
// @desc@	[Issue 354] New: Internal error: e2ir.c 772 with bad template use

module dstress.compile.b.bug_e2ir_772_J;

template A(){
	const int A = 3;
}

template B(int x){
	const int B = x;
}

static assert(B!(A!()) == 3);