xref: /llvm-project/llvm/test/Assembler/invalid-metadata-attachment-has-type.ll (revision be7ea19b585dc1b0d4c4358df3ca498ceb65b969)
1; RUN: not llvm-as -disable-output < %s 2>&1 | FileCheck %s
2; Check common error from old format.
3
4define void @foo() {
5; CHECK: {{.*}}:[[@LINE+1]]:{{[0-9]+}}: error: invalid metadata-value-metadata roundtrip
6  ret void, !bar !{metadata !0}
7}
8!0 = !{}
9