aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-generic-debug-node-tag-missing.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-generic-debug-node-tag-missing.ll')
-rw-r--r--test/Assembler/invalid-generic-debug-node-tag-missing.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/invalid-generic-debug-node-tag-missing.ll b/test/Assembler/invalid-generic-debug-node-tag-missing.ll
new file mode 100644
index 0000000..5372cbb
--- /dev/null
+++ b/test/Assembler/invalid-generic-debug-node-tag-missing.ll
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:47: error: missing required field 'tag'
+!0 = !GenericDebugNode(header: "some\00header")