Mercurial > projects > dstress
view nocompile/a/asm_fnsave_02_E.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 | a62d2a1c5f14 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // __DSTRESS_ELINE__ 22 module dstress.nocompile.a.asm_fnsave_02_E; version(D_InlineAsm_X86){ version = test; }else version(D_Inline_Asm_X86_64){ version = test; }else{ static assert(0, "DSTRESS{XFAIL}: no inline x86 asm support"); } version(test){ void main(){ long x; asm{ fnsave x; } } }