xref: /llvm-project/llvm/test/Assembler/invalid-disubrange-count-node.ll (revision fdf40917d946e3b36fd67afb2aac4063af9fc85d)
1; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2
3; CHECK: [[@LINE+1]]:{{[0-9]+}}: error: 'count' cannot be null
4!0 = !DISubrange(count: null)
5