mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 12:13:41 +03:00
17 lines
318 B
Plaintext
17 lines
318 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
input_files: inputs/add.in
|
|
*/
|
|
|
|
program test.aleo {
|
|
// This record does define the `gates` variable but with the wrong type.
|
|
record Token {
|
|
gates: address,
|
|
owner: address,
|
|
}
|
|
|
|
function main(a: u8, b:u8) -> u8 {
|
|
return a + b;
|
|
}}
|