mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
14 lines
143 B
Plaintext
14 lines
143 B
Plaintext
|
/*
|
||
|
namespace: Compile
|
||
|
expectation: Fail
|
||
|
*/
|
||
|
|
||
|
circuit Foo {
|
||
|
x: u8;
|
||
|
}
|
||
|
|
||
|
function main() {
|
||
|
const y: u8 = 1;
|
||
|
const a: Foo = Foo { y };
|
||
|
}
|