leo/tests/compiler/function/helper_function_with_interface.leo
Pranav Gaddamadugu a4c0eb186e Add test case
2022-09-06 12:14:36 -07:00

19 lines
235 B
Plaintext

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