test that the no_dead_strip directive is emitted on darwin-x86

llvm-svn: 30607
This commit is contained in:
Chris Lattner 2006-09-26 03:44:20 +00:00
parent 9a1e91b107
commit ae7ff8b0c6
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,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*) ]