blob: bc0d0c09f4d0f0cff087e36ccf5283748d02e212 [file] [log] [blame]
Rafael Espindolae0ac18d2008-06-09 09:52:31 +00001; RUN: llvm-as < %s | \
2; RUN: llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 -f
3; RUN: grep {call g@PLT} %t1
4
5@g = alias weak i32 ()* @f
6
7define void @g() {
8entry:
9 %tmp31 = call i32 @g()
10 ret void
11}
12
13declare extern_weak i32 @f()