xref: /llvm-project/llvm/test/Verifier/invalid-disubrange-stride.ll (revision d20bf5a7258d4b6a7f017a81b125275dac1aa166)
1; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2
3!named = !{!0, !1}
4; CHECK: Stride must be signed constant or DIVariable or DIExpression
5!0 = !DISubrange(upperBound: 1, stride: !1)
6!1 = !DIBasicType(name: "integer*8", size: 64, align: 64, encoding: DW_ATE_signed)
7