You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
326 B

; 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() {