mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
191 B
Solidity
6 lines
191 B
Solidity
contract test {
|
|
function f(bytes calldata) public;
|
|
}
|
|
// ----
|
|
// TypeError: (31-36): Location has to be memory for publicly visible functions (remove the "storage" or "calldata" keyword).
|