blob: 93f81ecdae053a76a81a32b13a596bd382d38080 [file] [log] [blame]
Evan Chengc3ccc1a2008-12-06 02:00:55 +00001; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | \
2; RUN: grep .private_extern | count 2
3
4%struct.Person = type { i32 }
5@a = hidden global i32 0
6@b = external global i32
7
8
9define weak hidden void @_ZN6Person13privateMethodEv(%struct.Person* %this) {
10 ret void
11}
12
13declare void @function(i32)
14
15define weak void @_ZN6PersonC1Ei(%struct.Person* %this, i32 %_c) {
16 ret void
17}
18