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

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