xref: /llvm-project/llvm/test/Verifier/global-ctors-2.ll (revision b05c71814c3b9f91a2e00af891d67a83790a109c)
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
3@llvm.global_ctors = appending global [1 x { i32, ptr } ] [
4  { i32, ptr } { i32 65535, ptr null }
5]
6; CHECK: the third field of the element type is mandatory, specify ptr null to migrate from the obsoleted 2-field form
7