IR: Split Metadata from Value
[oota-llvm.git] / test / Assembler / functionlocal-metadata-attachments.ll
index 71d8fa1b0e1fa508563dd099f65e8589b88fde20..20cb0a9218c598f50450073b99f26bd2a593dd0a 100644 (file)
@@ -2,6 +2,6 @@
 
 define void @foo(i32 %v) {
 entry:
-; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: unexpected function-local metadata
+; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: invalid use of function-local name
   ret void, !foo !{i32 %v}
 }