diff --git a/test/CodeGen/Generic/2006-03-27-DebugInfoNULLDeclare.ll b/test/CodeGen/Generic/2006-03-27-DebugInfoNULLDeclare.ll new file mode 100644 index 00000000000..e778a6f1091 --- /dev/null +++ b/test/CodeGen/Generic/2006-03-27-DebugInfoNULLDeclare.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as < %s | llc + +implementation ; Functions: + +declare void %llvm.dbg.declare({ }*, { }*) + +void %foo() { + call void %llvm.dbg.declare( { }* null, { }* null ) + ret void +}