mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
563ba88392
llvm-svn: 8558
12 lines
182 B
LLVM
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
|
|
}
|