solidity/test/libsolidity/syntaxTests/dataLocations/libraryExternalFunction/function_argument_location_specifier_test_external_memory.sol

6 lines
193 B
Solidity
Raw Normal View History

library test {
function f(bytes memory) external;
}
// ----
2018-08-07 17:12:49 +00:00
// TypeError: (30-35): Data location must be "storage" or "calldata" for parameter in external function, but "memory" was given.