mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 15:15:47 +03:00
16 lines
231 B
Plaintext
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;
|
|
}}
|