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