leo/tests/parser/functions/public_param.leo

13 lines
163 B
Plaintext

/*
namespace: Parse
expectation: Pass
*/
function x(x: u32, public y: i32) -> u8 {
return 0u8;
}
function x(public x: u32, y: i32) -> u8 {
return 0u8;
}