solidity/test/libsolidity/syntaxTests/array/static_storage_array_pop.sol
2020-01-08 16:12:06 +01:00

9 lines
216 B
Solidity

contract C {
uint[3] data;
function test() public {
data.pop();
}
}
// ----
// TypeError: (66-74): Member "pop" not found or not visible after argument-dependent lookup in "uint256[3] storage ref".