llvm-6502/test/Transforms/Inline/basictest.ll
2003-09-16 15:29:54 +00:00

12 lines
182 B
LLVM

; RUN: llvm-as < %s | opt -inline -disable-output -print
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
}