1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/test/Linker/available_externally_over_decl.ll
2015-12-10 18:44:26 +00:00

16 lines
326 B
LLVM

; RUN: llvm-link -S %s %p/Inputs/available_externally_over_decl.ll | FileCheck %s
declare void @f()
define available_externally void @g() {
ret void
}
define void ()* @main() {
call void @g()
ret void ()* @f
}
; CHECK-DAG: define available_externally void @g() {
; CHECK-DAG: define available_externally void @f() {