aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-mdlexicalblockfile-missing-scope.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-mdlexicalblockfile-missing-scope.ll')
-rw-r--r--test/Assembler/invalid-mdlexicalblockfile-missing-scope.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/invalid-mdlexicalblockfile-missing-scope.ll b/test/Assembler/invalid-mdlexicalblockfile-missing-scope.ll
new file mode 100644
index 0000000..1c901e2
--- /dev/null
+++ b/test/Assembler/invalid-mdlexicalblockfile-missing-scope.ll
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:42: error: missing required field 'scope'
+!0 = !MDLexicalBlockFile(discriminator: 0)