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
/
basictest.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -inline -disable-output -print
2
3
int %func(int %i) {
4
ret int %i
5
}
6
7
int %main(int %argc) {
8
%X = call int %func(int 7)
9
%Y = add int %X, %argc
10
ret int %Y
11
}