Chris Lattner 03ef2fc167 Change tests to use testrunner
new test

llvm-svn: 6399
2003-05-29 15:16:10 +00:00

12 lines
177 B
LLVM

; RUN: 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
}