aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/dataLocations/function_argument_location_specifier_test_non_reference_type.sol
blob: 71756ebb927db3484176de67479c1b528e08365c (plain) (blame)
1
2
3
4
5
contract test {
    function f(bytes4 memory) public;
}
// ----
// TypeError: (31-37): Data location can only be specified for array, struct or mapping types, but "memory" was given.