diff --git a/test/Feature/md_on_instruction.ll b/test/Feature/md_on_instruction.ll new file mode 100644 index 00000000000..3fa0b6158b9 --- /dev/null +++ b/test/Feature/md_on_instruction.ll @@ -0,0 +1,23 @@ +; RUN: llvm-as < %s -disable-output + +define i32 @foo() nounwind ssp { +entry: + %retval = alloca i32 ; [#uses=2] + call void @llvm.dbg.func.start(metadata !0) + store i32 42, i32* %retval, dbg !3 + br label %0, dbg !3 + +;