blob: f3a3d9c355d06f9c26afeea5b8c9636f85520929 [file] [log] [blame]
Anton Korobeynikov7f705592007-01-12 19:20:47 +00001; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu &&
2; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu | grep ".hidden" | wc -l | grep 2
3
4%struct.Person = type { i32 }
5%a = hidden global i32 0
6%b = external global i32
7
8implementation ; Functions:
9
10define weak hidden void %_ZN6Person13privateMethodEv(%struct.Person* %this) {
11 ret void
12}
13
14declare void %function(i32)
15
16define weak void %_ZN6PersonC1Ei(%struct.Person* %this, i32 %_c) {
17 ret void
18}
19