solidity/test/libsolidity/syntaxTests/array/push/calldata_push.sol
2022-04-01 23:41:18 -05:00

8 lines
202 B
Solidity

contract C {
function f(uint[] calldata x) external {
x.push();
}
}
// ----
// TypeError 4994: (66-72='x.push'): Member "push" is not available in uint256[] calldata outside of storage.