1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/CodeGen/Generic/call-ret42.ll
2007-01-17 07:59:14 +00:00

11 lines
138 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc
int %foo(int %x) {
ret int 42
}
int %main() {
%r = call int %foo(int 15)
ret int %r
}