leo/tests/compiler/records/no_owner_fail.leo
2022-06-27 16:59:06 -10:00

16 lines
282 B
Plaintext

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