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

16 lines
231 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
program test.aleo {
@test
function foo(a: u8, b: u8) -> u8 {
return a + b;
}
@program
function bar(a: u8, b: u8) -> u8 {
return a * b;
}}