IR: Make metadata typeless in assembly
[oota-llvm.git] / test / Assembler / invalid-metadata-function-local-complex-1.ll
index 81337db39fe6e4eee1f474fa7f1dc785b4d11db1..be1d16d2c178bf0ce6265393104db7044d8c031b 100644 (file)
@@ -2,7 +2,7 @@
 
 define void @foo(i32 %v) {
 entry:
-; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: unexpected operand after function-local metadata
+; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: invalid use of function-local name
   call void @llvm.bar(metadata !{i32 %v, i32 0})
   ret void
 }