blob: df05b97a3b556781062672efeea5480a5221167a [file] [log] [blame]
Dan Gohman8c89a502007-08-15 13:36:28 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=i686-apple-darwin | grep weak_reference | count 2
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
3%Y = global int (sbyte*)* %X
4declare extern_weak int %X(sbyte*)
5
6void %bar() {
7 tail call void (...)* %foo( )
8 ret void
9}
10
11declare extern_weak void %foo(...)