aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/473_storage_location_non_array_or_struct_disallowed.sol
blob: fe846aa0affeb4c5320d6e516c56ceaeca4e900d (plain) (blame)
1
2
3
4
5
contract C {
    function f(uint storage a) public { }
}
// ----
// TypeError: (28-42): Data location can only be specified for array, struct or mapping types, but "storage" was given.