solidity/test/libsolidity/semanticTests/array/create_dynamic_array_with_zero_length.sol
2020-03-19 14:42:25 +01:00

10 lines
155 B
Solidity

contract C {
function f() public returns (uint256) {
uint256[][] memory a = new uint256[][](0);
return 7;
}
}
// ----
// f() -> 7