1 2 3 4 5
contract test { function f(bytes calldata) internal; } // ---- // TypeError: (31-36): Data location must be "storage" or "memory" for parameter in function, but "calldata" was given.