view run/b/bug_cod3_1760_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 dc2b72773b7f
children
line wrap: on
line source

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

// @author@	Thomas Kühne <thomas-dloop@kuehne.cn>
// @date@	2007-02-15
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=964
// @desc@	[Issue 964] Internal error: ../ztc/cod3.c 1760

module dstress.run.b.bug_cod3_1760_A;

void func(){
}

int main(){
	if(*cast(int*)&func){
		return 0;
	}
	assert(0);
}