mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 12:13:41 +03:00
20 lines
301 B
Plaintext
20 lines
301 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
*/
|
|
|
|
program test.aleo {
|
|
transition main(public a: u32, b: u32) -> u32 {
|
|
let c: u32 = a + b;
|
|
return c;
|
|
}
|
|
|
|
struct Board {
|
|
foo: u8,
|
|
}
|
|
|
|
function win(b: Board, p: u8) -> bool {
|
|
return false & true;
|
|
}
|
|
}
|