mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
318 B
Solidity
8 lines
318 B
Solidity
contract Foo {
|
|
function f(uint[] storage constant x, uint[] memory y) internal { }
|
|
}
|
|
// ----
|
|
// DeclarationError: (30-55): The "constant" keyword can only be used for state variables.
|
|
// TypeError: (30-55): Constants of non-value type not yet implemented.
|
|
// TypeError: (30-55): Uninitialized "constant" variable.
|