view complex/arguments/arguments_04_X.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 86b78b5ac267
children
line wrap: on
line source

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

// @author@	Kevin Bealer <Kevin_member@pathlink.com>
// @date@	2006-03-13
// @uri@	news:dv37ip$1v97$1@digitaldaemon.com

module /*dstress.*/complex.arguments.arguments_04_X;

template foo(int x){
	int foo(){
		dummy(x);
		return (x * 2) + 1;
	}
}

void dummy(...){
}