1 ; Test to make sure that the 'private' is used correctly. 2 ; 3 ; RUN: llc < %s -mtriple=x86_64-pc-linux | grep .Lfoo: 4 ; RUN: llc < %s -mtriple=x86_64-pc-linux | grep call.*\.Lfoo 5 ; RUN: llc < %s -mtriple=x86_64-pc-linux | grep .Lbaz: 6 ; RUN: llc < %s -mtriple=x86_64-pc-linux | grep movl.*\.Lbaz 7 8 define private void @foo() { 9 ret void 10 } 11 12 @baz = private global i32 4 13 14 define i32 @bar() { 15 call void @foo() 16 %1 = load i32* @baz, align 4 17 ret i32 %1 18 } 19