64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
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() {
|