leo/tests/compiler/records/no_owner_fail.leo

16 lines
280 B
Plaintext
Raw Normal View History

2022-06-28 05:59:06 +03:00
/*
namespace: Compile
expectation: Fail
*/
// This record does not define the `owner` variable required for a record type.
record Token {
// The Aleo balance (in gates).
2022-07-08 02:15:11 +03:00
gates: u64,
2022-06-28 05:59:06 +03:00
// The token amount.
amount: u64,
}
function main() -> bool {
return true;
}