rename tests to avoid a test- prefix when they aren't related to the test instruction.
[oota-llvm.git] / test / CodeGen / X86 / hidden-vis.ll
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
5
6 %struct.Person = type { i32 }
7 @a = hidden global i32 0
8 @b = external global i32
9
10
11 define weak hidden void @_ZN6Person13privateMethodEv(%struct.Person* %this) {
12   ret void
13 }
14
15 declare void @function(i32)
16
17 define weak void @_ZN6PersonC1Ei(%struct.Person* %this, i32 %_c) {
18   ret void
19 }
20