mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-27 12:17:35 +03:00
14 lines
189 B
Plaintext
14 lines
189 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
program test.aleo {
|
|
|
|
transition foo(constant a: u8) {}
|
|
|
|
transition foo(a: u8) -> constant u8 {
|
|
return a + a;
|
|
}
|
|
}
|