mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-28 20:54:16 +03:00
18 lines
227 B
Plaintext
18 lines
227 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
*/
|
|
|
|
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;
|
|
}
|