mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
241 B
Solidity
12 lines
241 B
Solidity
// This caused a failure since the type was not converted to its mobile type.
|
|
contract C {
|
|
function f() public returns (uint256) {
|
|
return [4][0];
|
|
}
|
|
}
|
|
// ====
|
|
// compileToEwasm: also
|
|
// compileViaYul: also
|
|
// ----
|
|
// f() -> 4
|