blob: 7baa7e59e1c3f7209657bf9fe8183f2811153500 [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 {call g@PLT} %t1
3
4@g = alias weak i32 ()* @f
5
Chris Lattner85ee7092009-10-25 23:22:50 +00006define void @h() {
Rafael Espindolae0ac18d2008-06-09 09:52:31 +00007entry:
8 %tmp31 = call i32 @g()
9 ret void
10}
11
12declare extern_weak i32 @f()