This website requires JavaScript.
Explore
Help
Sign In
ProvableHQ
/
leo
Watch
1
Star
1
Fork
0
You've already forked leo
mirror of
https://github.com/ProvableHQ/leo.git
synced
2025-01-08 03:49:04 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a20d4ab22d
leo
/
compiler
/
tests
/
circuits
/
member_field.leo
9 lines
96 B
Plaintext
Raw
Normal View
History
Unescape
Escape
impl circuit static, self, and failure tests
2020-05-20 22:45:40 +03:00
circuit Circ {
add comma to circuit member field def
2020-06-29 23:05:41 +03:00
x: u32,
impl circuit static, self, and failure tests
2020-05-20 22:45:40 +03:00
}
function main() -> u32 {
let c = Circ { x: 1u32 };
return c.x
}
Reference in New Issue
Copy Permalink