mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
185 B
Solidity
6 lines
185 B
Solidity
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.
|