blob: 853a7133102c8bc9b36b2c0354c233fa604cc850 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=i686-apple-darwin | grep weak_reference | wc -l | grep 2
2
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(...)