view test/CodeGen/X86/2007-08-13-AppendingLinkage.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 afa8332a0e37
line wrap: on
line source

; RUN: llc < %s -march=x86 | not grep drectve
; PR1607

%hlvm_programs_element = type { i8*, i32 (i32, i8**)* }
@hlvm_programs = appending constant [1 x %hlvm_programs_element]
zeroinitializer

define %hlvm_programs_element* @hlvm_get_programs() {
entry:
  ret %hlvm_programs_element* getelementptr([1 x %hlvm_programs_element]*  
                                            @hlvm_programs, i32 0, i32 0)
}