1 ; RUN: opt -S -passes=globalopt < %s | FileCheck %s
3 ; Gracefully handle undef global_ctors/global_dtors
5 ; CHECK: @llvm.global_ctors = appending global [0 x { i32, ptr, ptr }] undef
6 ; CHECK: @llvm.global_dtors = appending global [0 x { i32, ptr, ptr }] undef
8 @llvm.global_ctors = appending global [0 x { i32, ptr, ptr }] undef
9 @llvm.global_dtors = appending global [0 x { i32, ptr, ptr }] undef