llvm-project/llvm/test/Verifier/invalid-disubrange-stride.ll

7 lines
277 B
LLVM

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
!named = !{!0, !1}
; CHECK: Stride must be signed constant or DIVariable or DIExpression
!0 = !DISubrange(upperBound: 1, stride: !1)
!1 = !DIBasicType(name: "integer*8", size: 64, align: 64, encoding: DW_ATE_signed)