reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
; 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() {