solidity/test/libsolidity/semanticTests/array/inline_array_singleton.sol

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];
}
}
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// f() -> 4