llvm-6502/test/CodeGen/X86/darwin-no-dead-strip.ll
2006-12-02 04:23:10 +00:00

8 lines
281 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | 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*) ]