mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-23 17:43:06 +03:00
14 lines
138 B
Plaintext
14 lines
138 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
circuit Foo {
|
|
x: u8;
|
|
}
|
|
|
|
function main() {
|
|
const y: u8 = 1;
|
|
const a = Foo { y };
|
|
}
|