1 ; Test to make sure that the 'private' is used correctly.
3 ; RUN: llvm-as < %s | llc -mtriple=powerpc-unknown-linux-gnu > %t
5 ; RUN: grep bl.*\.Lfoo %t
7 ; RUN: grep lis.*\.Lbaz %t
8 ; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin > %t
10 ; RUN: grep bl.*\Lfoo %t
12 ; RUN: grep lis.*\Lbaz %t
14 declare void @foo() nounwind
16 define private void @foo() nounwind {
20 @baz = private global i32 4;
22 define i32 @bar() nounwind {
24 %1 = load i32* @baz, align 4