Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/Mips/init-array.ll @ 33:e4204d083e25
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children | 54457678186b |
line wrap: on
line source
; 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 }