1 ; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu | \
2 ; RUN: grep .hidden | count 2
3 ; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8.8.0 | \
4 ; RUN: grep .private_extern | count 2
6 %struct.Person = type { i32 }
7 @a = hidden global i32 0
8 @b = external global i32
11 define weak hidden void @_ZN6Person13privateMethodEv(%struct.Person* %this) {
15 declare void @function(i32)
17 define weak void @_ZN6PersonC1Ei(%struct.Person* %this, i32 %_c) {