1 ; Test to make sure that the 'private' is used correctly.
3 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | \
4 ; RUN: FileCheck --check-prefix=LINUX %s
6 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin | \
7 ; RUN: FileCheck --check-prefix=OSX %s
11 define private void @foo() nounwind {
15 define i32 @bar() nounwind {
16 ; LINUX: bl{{.*}}.Lfoo
20 ; LINUX: lis{{.*}}.Lbaz
22 %1 = load i32, i32* @baz, align 4
28 @baz = private global i32 4