1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/CodeGen/X86/extern_weak.ll
Tanya Lattner 8116db05a6 Remove llvm-upgrade and update tests.
llvm-svn: 47432
2008-02-21 07:42:26 +00:00

14 lines
301 B
LLVM

; RUN: llvm-as < %s | llc -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(...)