mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
293 B
Solidity
15 lines
293 B
Solidity
contract C {
|
|
uint8[][2] public a;
|
|
constructor() {
|
|
a[1].push(3);
|
|
a[1].push(4);
|
|
}
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// a(uint256,uint256): 0, 0 -> FAILURE
|
|
// a(uint256,uint256): 1, 0 -> 3
|
|
// a(uint256,uint256): 1, 1 -> 4
|
|
// a(uint256,uint256): 2, 0 -> FAILURE
|