hanchenye-llvm-project/llvm/test/Assembler/invalid-diglobalvariable-em...

5 lines
157 B
LLVM

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: <stdin>:[[@LINE+1]]:30: error: 'name' cannot be empty
!0 = !DIGlobalVariable(name: "")