blob: bbec68209ba17ed140d991d46fc9c9e50270f56c [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \
2; RUN: -o %t -f
3; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
Dan Gohman8c89a502007-08-15 13:36:28 +00004; RUN: grep piclabel %t | count 3
5; RUN: grep PLT %t | count 1
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006
7define void @bar() {
8entry:
9 call void(...)* @foo()
10 br label %return
11return:
12 ret void
13}
14
15declare void @foo(...)