llvm.org GIT mirror llvm / release_39 test / Linker / available_externally_over_decl.ll
release_39

Tree @release_39 (Download .tar.gz)

available_externally_over_decl.ll @release_39

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