mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
734 B
Solidity
16 lines
734 B
Solidity
|
contract C {
|
||
|
function a() public pure returns(int[0][500] memory) {}
|
||
|
function b() public pure returns(uint[0][500] memory) {}
|
||
|
function c() public pure returns(byte[0][500] memory) {}
|
||
|
function d() public pure returns(bytes32[0][500] memory) {}
|
||
|
function e() public pure returns(bytes[0][500] memory) {}
|
||
|
function e() public pure returns(string[0][500] memory) {}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (52-53): Array with zero length specified.
|
||
|
// TypeError: (111-112): Array with zero length specified.
|
||
|
// TypeError: (170-171): Array with zero length specified.
|
||
|
// TypeError: (232-233): Array with zero length specified.
|
||
|
// TypeError: (292-293): Array with zero length specified.
|
||
|
// TypeError: (353-354): Array with zero length specified.
|