mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-01 08:19:32 +03:00
21 lines
280 B
Plaintext
21 lines
280 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
program test.aleo {
|
|
|
|
transition foo(a: u8) -> u8 {
|
|
let b: () = ();
|
|
return a + a;
|
|
}
|
|
|
|
transition baz(a: u8) -> u8 {
|
|
let b: () = bar();
|
|
return a + a;
|
|
}
|
|
|
|
transition bar(a: u8) -> () {}
|
|
}
|
|
|