mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-24 10:01:40 +03:00
15 lines
175 B
Plaintext
15 lines
175 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
circuit Foo {
|
|
function echo(x: u32) -> u32 {
|
|
return x;
|
|
}
|
|
}
|
|
|
|
function main() {
|
|
const err = Foo::echoed(1u32);
|
|
}
|