annotate norun/a/asm_lldt_01.d @ 1392:275d8482722d

div. inline asm fixes
author thomask
date Thu, 08 Mar 2007 16:21:09 +0000
parents 000adc086356
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
974
000adc086356 extended asm tests
thomask
parents:
diff changeset
1 // $HeadURL$
000adc086356 extended asm tests
thomask
parents:
diff changeset
2 // $Date$
000adc086356 extended asm tests
thomask
parents:
diff changeset
3 // $Author$
000adc086356 extended asm tests
thomask
parents:
diff changeset
4
000adc086356 extended asm tests
thomask
parents:
diff changeset
5 module dstress.norun.a.asm_lldt_01;
000adc086356 extended asm tests
thomask
parents:
diff changeset
6
000adc086356 extended asm tests
thomask
parents:
diff changeset
7 int main(){
000adc086356 extended asm tests
thomask
parents:
diff changeset
8 version(D_InlineAsm_X86){
000adc086356 extended asm tests
thomask
parents:
diff changeset
9 asm{
000adc086356 extended asm tests
thomask
parents:
diff changeset
10 mov AX, 0;
000adc086356 extended asm tests
thomask
parents:
diff changeset
11 lldt AX;
000adc086356 extended asm tests
thomask
parents:
diff changeset
12 }
000adc086356 extended asm tests
thomask
parents:
diff changeset
13
000adc086356 extended asm tests
thomask
parents:
diff changeset
14 return 0;
000adc086356 extended asm tests
thomask
parents:
diff changeset
15 }else{
1392
275d8482722d div. inline asm fixes
thomask
parents: 974
diff changeset
16 pragma(msg, "DSTRESS{XFAIL}: no inline x86 asm support");
974
000adc086356 extended asm tests
thomask
parents:
diff changeset
17 static assert(0);
000adc086356 extended asm tests
thomask
parents:
diff changeset
18 }
000adc086356 extended asm tests
thomask
parents:
diff changeset
19 }