solidity/test/libsolidity/syntaxTests/dataLocations/externalFunction/function_argument_location_specifier_test_external_memory.sol
2018-08-14 18:53:06 +02:00

6 lines
181 B
Solidity

contract test {
function f(bytes memory) external;
}
// ----
// TypeError: (31-36): Data location must be "calldata" for parameter in external function, but "memory" was given.