IR: Split Metadata from Value
[oota-llvm.git] / test / Assembler / functionlocal-metadata-complex-3.ll
index 1590efa72b6d570ed48eadf2dd152e4b61f242eb..647f93ecabe07856e95baefd09f167eef156a09f 100644 (file)
@@ -2,7 +2,7 @@
 
 define void @foo(i32 %v) {
 entry:
-; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: unexpected nested function-local metadata
+; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: invalid use of function-local name
   call void @llvm.bar(metadata !{metadata !{i32 %v}})
   ret void
 }