aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-metadata-attachment-has-type.ll
blob: 74e4151b715d992729efc42e14cb11b84fcbc3bf (plain)
1
2
3
4
5
6
7
8
; RUN: not llvm-as -disable-output < %s 2>&1 | FileCheck %s
; Check common error from old format.

define void @foo() {
; CHECK: {{.*}}:[[@LINE+1]]:{{[0-9]+}}: error: invalid metadata-value-metadata roundtrip
  ret void, !bar !{metadata !0}
}
!0 = !{}