view nocompile/b/bug_template_2622_B.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 daef239f37cf
children
line wrap: on
line source

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

// @author@	Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp>
// @date@	2006-12-05
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=651
// @desc@	[Issue 651] New: Assertion failure: 'global.errors' on line 2622 in file 'template.c'

// __DSTRESS_ELINE__ 20

module dstress.nocompile.b.bug_template_2622_B;

int i;

template foo(T){
}

template bar(T...){
	alias foo!(T) buz;
}

alias bar!(i) a;