view nocompile/t/template_52_A.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
parents 91479703e22e
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++);