mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-26 11:06:00 +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();
|
|
} |