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