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

17 lines
275 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
program test.aleo {
// This record does define the `owner` variable but with the wrong type.
record Token {
gates: u64,
owner: bool,
}
function main() -> bool {
return true;
}
}