blob: 2856aa6a6e0888101fd5c2e07b489a13bd47ef23 [file] [log] [blame]
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic | FileCheck %s
define void ()* @g() {
; CHECK-LABEL: g:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: leaq f(%rip), %rax
; CHECK-NEXT: retq
entry:
ret void ()* @f
}
declare hidden void @f()