diff options
Diffstat (limited to 'llvm/test/Assembler/invalid-dilexicalblock-missing-scope.ll')
-rw-r--r-- | llvm/test/Assembler/invalid-dilexicalblock-missing-scope.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Assembler/invalid-dilexicalblock-missing-scope.ll b/llvm/test/Assembler/invalid-dilexicalblock-missing-scope.ll new file mode 100644 index 00000000000..6108e692b21 --- /dev/null +++ b/llvm/test/Assembler/invalid-dilexicalblock-missing-scope.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 = !DILexicalBlock(line: 7) |