xref: /llvm-project/llvm/test/Assembler/invalid-diglobalvariable-empty-name.ll (revision 9ce58b1cfbb125c77dc7a89e43b767727c7bb4db)
1; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2
3; CHECK: <stdin>:[[@LINE+1]]:30: error: 'name' cannot be empty
4!0 = !DIGlobalVariable(name: "")
5