1
1
mirror of https://github.com/AleoHQ/leo.git synced 2025-01-02 06:50:13 +03:00
leo/compiler/tests/circuits/member_variable.leo

9 lines
111 B
Plaintext

circuit Foo {
x: u32,
}
function main() {
let a = Foo { x: 1u32 };
console.assert(a.x == 1u32);
}