diff options
Diffstat (limited to 'test/Assembler/invalid-mdtemplatevalueparameter-missing-tag.ll')
-rw-r--r-- | test/Assembler/invalid-mdtemplatevalueparameter-missing-tag.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/invalid-mdtemplatevalueparameter-missing-tag.ll b/test/Assembler/invalid-mdtemplatevalueparameter-missing-tag.ll new file mode 100644 index 0000000..fea218c --- /dev/null +++ b/test/Assembler/invalid-mdtemplatevalueparameter-missing-tag.ll @@ -0,0 +1,4 @@ +; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s + +; CHECK: [[@LINE+1]]:55: error: missing required field 'tag' +!0 = !MDTemplateValueParameter(type: !{}, value: i32 7) |