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