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

11 lines
217 B
Solidity
Raw Normal View History

// This caused a failure since the type was not converted to its mobile type.
contract C {
function f() public returns (uint256) {
return [4][0];
}
}
2020-07-20 12:37:19 +00:00
// ====
// compileViaYul: also
// ----
// f() -> 4