Rafael Espindola | e0ac18d | 2008-06-09 09:52:31 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | \ |
2 | ; RUN: llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 -f | ||||
3 | ; RUN: grep {call f} %t1 | ||||
4 | ; RUN: not grep {call f@PLT} %t1 | ||||
5 | |||||
6 | define void @g() { | ||||
7 | entry: | ||||
8 | call void @f( ) | ||||
9 | ret void | ||||
10 | } | ||||
11 | |||||
12 | define internal void @f() { | ||||
13 | entry: | ||||
14 | ret void | ||||
15 | } |