solidity/test/libsolidity/semanticTests/array/inline_array_singleton.sol
2020-07-20 17:06:32 +02:00

11 lines
217 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
// ----
// f() -> 4