summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/darwin-no-dead-strip.ll
blob: 63325b7a6ae0bdbb1d66634943f941fb77cb7dea (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | llc | grep no_dead_strip

target datalayout = "e-p:32:32"
target triple = "i686-apple-darwin8.7.2"
@x = weak global i32 0          ; <i32*> [#uses=1]
@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @x to i8*) ]                ; <[1 x i8*]*> [#uses=0]

OpenPOWER on IntegriCloud