leo/tests/compiler/function/9_inputs_fail.leo

20 lines
296 B
Plaintext
Raw Normal View History

2022-07-29 01:27:43 +03:00
/*
namespace: Compile
expectation: Fail
input_file: inputs/nine.in
*/
// The maximum number of arguments to a function is 8.
function main(
a: u8,
b: u8,
c: u8,
d: u8,
e: u8,
f: u8,
g: u8,
h: u8,
i: u8,
) -> u8 {
return a + b + c + d + e + f + g + h + i
}