bolt/deps/llvm-18.1.8/llvm/test/Verifier/array_rank.ll

7 lines
275 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: not llvm-as -disable-output <%s 2>&1 | FileCheck %s
!named = !{!0}
!0 = !DICompositeType(tag: DW_TAG_structure_type, name: "A", size: 64, rank: !DIExpression(DW_OP_push_object_address, DW_OP_plus_uconst, 8, DW_OP_deref))
; CHECK: rank can only appear in array type