Mercurial > projects > dstress
comparison nocompile/a/asm_fnsave_02_C.d @ 1591:a62d2a1c5f14
Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
version condition is missing, the result is XFAIL.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 28 Aug 2008 09:59:22 +0200 |
parents | 25f3e72bf814 |
children |
comparison
equal
deleted
inserted
replaced
1590:1d1f281a9b11 | 1591:a62d2a1c5f14 |
---|---|
1 // $HeadURL$ | 1 // $HeadURL$ |
2 // $Date$ | 2 // $Date$ |
3 // $Author$ | 3 // $Author$ |
4 | 4 |
5 // __DSTRESS_ELINE__ 14 | 5 // __DSTRESS_ELINE__ 22 |
6 | 6 |
7 module dstress.nocompile.a.asm_fnsave_02_C; | 7 module dstress.nocompile.a.asm_fnsave_02_C; |
8 | 8 |
9 void main(){ | 9 version(D_InlineAsm_X86){ |
10 version(D_InlineAsm_X86){ | 10 version = test; |
11 }else version(D_Inline_Asm_X86_64){ | |
12 version = test; | |
13 }else{ | |
14 static assert(0, "DSTRESS{XFAIL}: no inline x86 asm support"); | |
15 } | |
16 | |
17 version(test){ | |
18 void main(){ | |
11 short x; | 19 short x; |
12 | 20 |
13 asm{ | 21 asm{ |
14 fnsave x; | 22 fnsave x; |
15 } | 23 } |