[opaque pointer type] Add textual IR support for explicit type parameter for global...
[oota-llvm.git] / test / CodeGen / X86 / x86-64-pic-10.ll
1 ; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
2 ; RUN: grep "callq      g@PLT" %t1
3
4 @g = weak alias i32 (), i32 ()* @f
5
6 define void @h() {
7 entry:
8         %tmp31 = call i32 @g()
9         ret void
10 }
11
12 define weak i32 @f() {
13   ret i32 42
14 }