mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 03:04:13 +03:00
19 lines
221 B
Plaintext
19 lines
221 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
inputs:
|
|
- member.in: |
|
|
[registers]
|
|
r0: bool = false;
|
|
*/
|
|
|
|
circuit Foo {
|
|
x: u32,
|
|
}
|
|
|
|
function main() -> bool {
|
|
const a = Foo { x: 1u32 };
|
|
|
|
return a.x == 1u32;
|
|
}
|