Re-did 60519. It turns out Darwin's handling of hidden visibility symbols are a bit...
[oota-llvm.git] / test / CodeGen / X86 / hidden-vis-4.ll
1 ; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin9 | grep non_lazy_ptr
2 ; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin9 | grep long
3 ; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin9 | grep comm
4
5 @x = common hidden global i32 0         ; <i32*> [#uses=1]
6
7 define i32 @t() nounwind readonly {
8 entry:
9         %0 = load i32* @x, align 4              ; <i32> [#uses=1]
10         ret i32 %0
11 }