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

target endian = little
target pointersize = 32
target triple = "i686-apple-darwin8.7.2"
%x = weak global int 0          ; <int*> [#uses=1]
%llvm.used = appending global [1 x sbyte*] [ sbyte* cast (int* %x to sbyte*) ]