summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/functionlocal-metadata-attachments.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Assembler/functionlocal-metadata-attachments.ll')
-rw-r--r--llvm/test/Assembler/functionlocal-metadata-attachments.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Assembler/functionlocal-metadata-attachments.ll b/llvm/test/Assembler/functionlocal-metadata-attachments.ll
index 71d8fa1b0e1..20cb0a9218c 100644
--- a/llvm/test/Assembler/functionlocal-metadata-attachments.ll
+++ b/llvm/test/Assembler/functionlocal-metadata-attachments.ll
@@ -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}
}
OpenPOWER on IntegriCloud