diff options
Diffstat (limited to 'test/Assembler/invalid-mdlexicalblock-missing-parent.ll')
-rw-r--r-- | test/Assembler/invalid-mdlexicalblock-missing-parent.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/invalid-mdlexicalblock-missing-parent.ll b/test/Assembler/invalid-mdlexicalblock-missing-parent.ll new file mode 100644 index 0000000..cdd12af --- /dev/null +++ b/test/Assembler/invalid-mdlexicalblock-missing-parent.ll @@ -0,0 +1,4 @@ +; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s + +; CHECK: [[@LINE+1]]:29: error: missing required field 'scope' +!0 = !MDLexicalBlock(line: 7) |