mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
df2896d609
llvm-svn: 81290
14 lines
291 B
LLVM
14 lines
291 B
LLVM
; RUN: llc < %s -mtriple=i686-apple-darwin | grep weak_reference | count 2
|
|
|
|
@Y = global i32 (i8*)* @X ; <i32 (i8*)**> [#uses=0]
|
|
|
|
declare extern_weak i32 @X(i8*)
|
|
|
|
define void @bar() {
|
|
tail call void (...)* @foo( )
|
|
ret void
|
|
}
|
|
|
|
declare extern_weak void @foo(...)
|
|
|