leo/tests/compiler/records/no_owner_fail.leo
2022-10-05 16:53:49 -07:00

18 lines
350 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
program test.aleo {
// This record does not define the `owner` variable required for a record type.
record Token {
// The Aleo balance (in gates).
gates: u64,
// The token amount.
amount: u64,
}
function main() -> bool {
return true;
}}