blob: 4d98ee614026d9bc7ee346eee28ab319cea75533 [file] [log] [blame]
Dan Gohman0cb2f672009-09-11 18:36:27 +00001; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
Rafael Espindolae0ac18d2008-06-09 09:52:31 +00002; RUN: grep {movq f@GOTPCREL(%rip),} %t1
3
Chris Lattner0249bee2009-06-27 04:07:31 +00004define void ()* @g() nounwind {
Rafael Espindolae0ac18d2008-06-09 09:52:31 +00005entry:
6 ret void ()* @f
7}
8
9declare void @f()