llvm-6502/test/Transforms/Inline/basictest.ll
Chris Lattner f49764070d Basic test of the inlinr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2767 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-24 17:46:05 +00:00

12 lines
126 B
LLVM

int %func(int %i) {
ret int %i
}
int %main(int %argc) {
%X = call int %func(int 7)
%Y = add int %X, %argc
ret int %Y
}