Evan Cheng | c3ccc1a | 2008-12-06 02:00:55 +0000 | [diff] [blame^] | 1 | ; 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 | |||||
9 | define weak hidden void @_ZN6Person13privateMethodEv(%struct.Person* %this) { | ||||
10 | ret void | ||||
11 | } | ||||
12 | |||||
13 | declare void @function(i32) | ||||
14 | |||||
15 | define weak void @_ZN6PersonC1Ei(%struct.Person* %this, i32 %_c) { | ||||
16 | ret void | ||||
17 | } | ||||
18 |