view nocompile/a/asm_jmp_03_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 9f62db65faf5
children
line wrap: on
line source

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

// @author@	<matti.niemenmaa+dbugzilla@iki.fi>
// @date@	2007-10-24
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1612
// @desc@	[Issue 1612] New: No file/line number for using an undefined label in inline assembly

module dstress.nocompile.a.asm_jmp_03_A;

// __DSTRESS_ELINE__ 1

version(D_InlineAsm_X86){
	version = test;
}else version(D_InlineAsm_X86_64){
	version = test;
}else{
	pragma(msg, "DSTRESS{XFAIL}: X86 assembler not supported");
	static assert(0);
}

void check(){
        asm {
                jmp foo;
        }
}