mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 23:41:38 +03:00
12 lines
192 B
Plaintext
12 lines
192 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
*/
|
|
|
|
function main() {
|
|
let a = [(1u32, 2u32)];
|
|
a[0u32].1 = 3u32;
|
|
|
|
console.assert(a[0u32].0 == 1u32);
|
|
console.assert(a[0u32].1 == 3u32);
|
|
} |