mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
33eefffb2b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47432 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
301 B
LLVM
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(...)
|
|
|