CS153/hw6/llprograms/call.ll

10 lines
117 B
LLVM
Raw Normal View History

define i64 @foo() {
ret i64 42
}
define i64 @main(i64 %argc, i8** %arcv) {
%1 = call i64 @foo()
ret i64 %1
}