1; RUN: llvm-link -S %s %p/Inputs/available_externally_over_decl.ll | FileCheck %s 2 3declare void @f() 4 5define available_externally void @g() { 6 ret void 7} 8 9define void ()* @main() { 10 call void @g() 11 ret void ()* @f 12} 13 14; CHECK-DAG: define available_externally void @g() { 15; CHECK-DAG: define available_externally void @f() { 16