aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-mdsubprogram-missing-name.ll
blob: 54ded22223122981ad5c8531372ed366695dab33 (plain)
1
2
3
4
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s

; CHECK: <stdin>:[[@LINE+1]]:38: error: missing required field 'name'
!0 = !MDSubprogram(linkageName: "foo")