llvm-project/llvm/test/Verifier/global-ctors-2.ll
Nikita Popov b05c71814c [Verifier] Convert tests to opaque pointers (NFC)
Some tests are removed because they check conditions that
are not relevant with opaque pointers.
2023-01-10 16:54:55 +01:00

7 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