Mercurial > projects > ldc
view tests/mini/naked_asm4.d @ 926:bbb3f23908aa
Added X86-64 version
author | wilsonk@ubuntu |
---|---|
date | Tue, 03 Feb 2009 12:33:42 -0700 |
parents | 545f54041d91 |
children | 97688ff7cf93 |
line wrap: on
line source
void foo() { version(X86) asm { naked; jmp pass; hlt; pass: ret; } else static assert(0, "todo"); } void main() { foo(); }