solidity/test/libsolidity/syntaxTests/dataLocations/function_argument_location_specifier_test_non_reference_type.sol

6 lines
183 B
Solidity
Raw Normal View History

contract test {
function f(bytes4 memory) public;
}
// ----
2018-08-07 17:12:49 +00:00
// TypeError: (31-37): Data location can only be specified for array, struct or mapping types, but "memory" was given.