view nocompile/t/template_52_A.d @ 1283:91479703e22e

[Issue 710] New: compiler assertion failure w/ templates Dan <ddaglas@gmail.com> 2006-12-22 http://d.puremagic.com/issues/show_bug.cgi?id=710
author thomask
date Tue, 26 Dec 2006 14:21:23 +0000
parents
children
line wrap: on
line source

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

// @author@	Dan <ddaglas@gmail.com>
// @date@	2006-12-22
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=710
// @desc@	[Issue 710] New: compiler assertion failure w/ templates

// __DSTRESS_ELINE__ 20

module dstress.nocompile.t.template_52_A;

static int i=0;

template NEXT(int idx){
	const NEXT = idx;
}

ubyte HELO = NEXT!(i++);