blob: da4a73548e4cdeafdd7350e25cb3e10d3c2c403d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
contract C {
// Warning for no data location provided can be silenced with storage or memory.
function f(uint[] memory, uint[] storage) private pure {}
function g(uint[] memory, uint[] storage) internal pure {}
function h(uint[] memory) public pure {}
// No warning on external functions, because of default to calldata.
function i(uint[]) external pure {}
// No warning for events.
event e(uint[]);
}
|