summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/invalid-mdenumerator-missing-name.ll
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-13 01:14:11 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-13 01:14:11 +0000
commit87754764199bf7547b5336b35e9a704143c177b7 (patch)
treeb40337d23c6b3e20d9d164dcc92f23b715622f30 /llvm/test/Assembler/invalid-mdenumerator-missing-name.ll
parentc7363f1147f8d06c34683480b0cb7e24a395a534 (diff)
downloadbcm5719-llvm-87754764199bf7547b5336b35e9a704143c177b7.tar.gz
bcm5719-llvm-87754764199bf7547b5336b35e9a704143c177b7.zip
AsmWriter/Bitcode: MDEnumerator
llvm-svn: 229004
Diffstat (limited to 'llvm/test/Assembler/invalid-mdenumerator-missing-name.ll')
-rw-r--r--llvm/test/Assembler/invalid-mdenumerator-missing-name.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Assembler/invalid-mdenumerator-missing-name.ll b/llvm/test/Assembler/invalid-mdenumerator-missing-name.ll
new file mode 100644
index 00000000000..709c6a556e6
--- /dev/null
+++ b/llvm/test/Assembler/invalid-mdenumerator-missing-name.ll
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:28: error: missing required field 'name'
+!0 = !MDEnumerator(value: 7)
OpenPOWER on IntegriCloud