bolt/deps/llvm-18.1.8/llvm/test/Verifier/global-ctors-2.ll
2025-02-14 19:21:04 +01:00

6 lines
276 B
LLVM

; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
@llvm.global_ctors = appending global [1 x { i32, ptr } ] [
{ i32, ptr } { i32 65535, ptr null }
]
; CHECK: the third field of the element type is mandatory, specify ptr null to migrate from the obsoleted 2-field form