mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 07:11:53 +03:00
12 lines
181 B
Plaintext
12 lines
181 B
Plaintext
circuit TestMe {
|
|
x: u8,
|
|
|
|
function test_me(mut self) -> u8 {
|
|
self.x += 1;
|
|
return self.x
|
|
}
|
|
}
|
|
|
|
function main () {
|
|
const t = TestMe {x: 6u8}.test_me();
|
|
} |