1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic | FileCheck %s
3
4define void ()* @g() nounwind {
5; CHECK-LABEL: g:
6; CHECK:       # %bb.0: # %entry
7; CHECK-NEXT:    movq f@GOTPCREL(%rip), %rax
8; CHECK-NEXT:    retq
9entry:
10	ret void ()* @f
11}
12
13declare void @f()
14