summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/invalid-mdlocalvariable-missing-name.ll
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-13 01:39:44 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-13 01:39:44 +0000
commit72fe2d0b7928257881bdaba31984ccfc127eed08 (patch)
treee7ef367631fb25e7bd964d8ed8cd7e4c6c199e88 /llvm/test/Assembler/invalid-mdlocalvariable-missing-name.ll
parent00dbc753dbf3dd716fc4a980e0cd63718dad5b7e (diff)
downloadbcm5719-llvm-72fe2d0b7928257881bdaba31984ccfc127eed08.tar.gz
bcm5719-llvm-72fe2d0b7928257881bdaba31984ccfc127eed08.zip
AsmWriter/Bitcode: MDLocalVariable
llvm-svn: 229022
Diffstat (limited to 'llvm/test/Assembler/invalid-mdlocalvariable-missing-name.ll')
-rw-r--r--llvm/test/Assembler/invalid-mdlocalvariable-missing-name.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Assembler/invalid-mdlocalvariable-missing-name.ll b/llvm/test/Assembler/invalid-mdlocalvariable-missing-name.ll
new file mode 100644
index 00000000000..5b23600a0e4
--- /dev/null
+++ b/llvm/test/Assembler/invalid-mdlocalvariable-missing-name.ll
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:29: error: missing required field 'tag'
+!0 = !MDLocalVariable(arg: 7)
OpenPOWER on IntegriCloud