leo/tests/parser/circuits/const_functions.leo
2022-01-28 10:34:02 -08:00

24 lines
376 B
Plaintext

/*
namespace: Parse
expectation: Pass
*/
circuit X {
x: u32
const function x() {
return ();
}
const function x(self) {
return ();
}
const function c(const self) {
return ();
}
const function b(const self, x: u32) {
return ();
}
const function b(const self, const x: u32) {
return ();
}
}