leo/tests/compiler/function/helper_function_with_interface.leo
2022-10-03 14:56:14 -07:00

18 lines
227 B
Plaintext

/*
namespace: Compile
expectation: Pass
*/
transition main(public a: u32, b: u32) -> u32 {
let c: u32 = a + b;
return c;
}
struct Board {
foo: u8,
}
function win(b: Board, p: u8) -> bool {
return false & true;
}