leo/tests/parser/functions/public_const_param_fail.leo

12 lines
161 B
Plaintext

/*
namespace: Parse
expectation: Fail
*/
function x(x: u32, public const y: i32) {
return 0;
}
function x(public constant x: u32, y: i32) {
return 0;
}