add support for PIC on linux x86-64
[oota-llvm.git] / test / CodeGen / X86 / x86-64-pic-2.ll
1 ; RUN: llvm-as < %s | \
2 ; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 -f
3 ; RUN: grep {call       f} %t1
4 ; RUN: not grep {call   f@PLT} %t1
5
6 define void @g() {
7 entry:
8         call void @f( )
9         ret void
10 }
11
12 declare hidden void @f()