mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
161d4c68fc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255272 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
326 B
LLVM
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() {
|