Make the grep line in this test more specific, to avoid
[oota-llvm.git] / test / CodeGen / X86 / pic-3.ll
1 ; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic | FileCheck %s
2
3 ; CHECK: bar:
4 ; CHECK: call   .Lllvm$1.$piclabel
5 ; CHECK: popl   %ebx
6 ; CHECK: addl   $_GLOBAL_OFFSET_TABLE_ + [.-.Lllvm$1.$piclabel], %ebx
7 ; CHECK: call   foo@PLT
8
9
10 define void @bar() nounwind {
11 entry:
12     call void(...)* @foo()
13     br label %return
14 return:
15     ret void
16 }
17
18 declare void @foo(...)