Mercurial > projects > dstress
comparison nocompile/a/asm_jmp_03_A.d @ 1585:9f62db65faf5
[Issue 1612] New: No file/line number for using an undefined label in inline assembly
<matti.niemenmaa+dbugzilla@iki.fi>
2007-10-24
http://d.puremagic.com/issues/show_bug.cgi?id=1612
author | thomask |
---|---|
date | Fri, 22 Feb 2008 07:55:57 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1584:75358a6522ce | 1585:9f62db65faf5 |
---|---|
1 // $HeadURL$ | |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ <matti.niemenmaa+dbugzilla@iki.fi> | |
6 // @date@ 2007-10-24 | |
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1612 | |
8 // @desc@ [Issue 1612] New: No file/line number for using an undefined label in inline assembly | |
9 | |
10 module dstress.nocompile.a.asm_jmp_03_A; | |
11 | |
12 // __DSTRESS_ELINE__ 1 | |
13 | |
14 version(D_InlineAsm_X86){ | |
15 version = test; | |
16 }else version(D_InlineAsm_X86_64){ | |
17 version = test; | |
18 }else{ | |
19 pragma(msg, "DSTRESS{XFAIL}: X86 assembler not supported"); | |
20 static assert(0); | |
21 } | |
22 | |
23 void check(){ | |
24 asm { | |
25 jmp foo; | |
26 } | |
27 } |