llvm-project/llvm/test/Assembler/invalid-diglobalvariable-mi...

5 lines
156 B
LLVM

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: <stdin>:[[@LINE+1]]:24: error: missing required field 'name'
!0 = !DIGlobalVariable()