leo/tests/compiler/function/program_function_no_constant_mode_fail.leo
2022-10-05 16:53:49 -07:00

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;
}
}