changeset 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 75358a6522ce
children a74f0139fc3d
files nocompile/a/asm_jmp_03_A.d
diffstat 1 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/asm_jmp_03_A.d	Fri Feb 22 07:55:57 2008 +0000
@@ -0,0 +1,27 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<matti.niemenmaa+dbugzilla@iki.fi>
+// @date@	2007-10-24
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1612
+// @desc@	[Issue 1612] New: No file/line number for using an undefined label in inline assembly
+
+module dstress.nocompile.a.asm_jmp_03_A;
+
+// __DSTRESS_ELINE__ 1
+
+version(D_InlineAsm_X86){
+	version = test;
+}else version(D_InlineAsm_X86_64){
+	version = test;
+}else{
+	pragma(msg, "DSTRESS{XFAIL}: X86 assembler not supported");
+	static assert(0);
+}
+
+void check(){
+        asm {
+                jmp foo;
+        }
+}