blob: f96ce2647289f7f0777facb964989e4ba980c36d [file] [log] [blame]
; RUN: llc -mtriple mipsel-unknown-linux -use-init-array < %s | FileCheck %s
target triple = "mipsel-unknown-linux"
@llvm.global_ctors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @test }]
; CHECK: .section
; CHECK: .init_array
; CHECK-NOT: .ctors
; CHECK: .4byte test
define internal void @test() section ".text.startup" {
entry:
ret void
}