Hello.
What should be the type of an LLVM function that has no arguments and
returns an int32?
I have tried
Function (() -> Int32)
but the llvm ir compiler does not accept it, with the error:
llc: prog1.ll:3:18: error: void type only allowed for function results
define i32 @main(void) {
^
Romildo