solidity/test/libsolidity/syntaxTests/array/static_storage_array_pop.sol

9 lines
214 B
Solidity
Raw Normal View History

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.