1 2 3 4 5
contract test { function f(bytes storage) public; } // ---- // TypeError: (31-36): Location has to be memory for publicly visible functions (remove the "storage" or "calldata" keyword).