comparison tests/mini/naked_asm2.d @ 981:855889b7b268

Update some testcases now that 64-bit immediates are working.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 18 Feb 2009 23:18:34 +0100
parents 79e3d33e6d6e
children
comparison
equal deleted inserted replaced
980:ae710cba0884 981:855889b7b268
1 int foo() 1 int foo()
2 { 2 {
3 static int fourty2 = 42; 3 static size_t fourty2 = 42;
4 version(X86) 4 version(X86)
5 asm 5 asm
6 { 6 {
7 naked; 7 naked;
8 mov EAX, fourty2; 8 mov EAX, fourty2;