leo/tests/compiler/function/annotated_function_fail.leo

16 lines
231 B
Plaintext
Raw Normal View History

/*
namespace: Compile
expectation: Fail
*/
2022-10-06 02:53:49 +03:00
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;
}}