projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Testcase for PR2032.
[oota-llvm.git]
/
test
/
Transforms
/
Inline
/
2007-06-25-WeakInline.ll
1
; RUN: llvm-as < %s | opt -inline | llvm-dis | grep call
2
3
; 'bar' can be overridden at link-time, don't inline it.
4
5
define void @foo() {
6
entry:
7
tail call void @bar( ) ; <i32> [#uses=0]
8
ret void
9
}
10
11
define weak void @bar() {
12
ret void
13
}
14