mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
385 B
Solidity
13 lines
385 B
Solidity
contract Foo {
|
|
function f() {
|
|
uint[] storage x;
|
|
uint[] memory y;
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (42-58): Uninitialized storage pointer.
|
|
// Warning: (19-90): No visibility specified. Defaulting to "public".
|
|
// Warning: (42-58): Unused local variable.
|
|
// Warning: (68-83): Unused local variable.
|
|
// Warning: (19-90): Function state mutability can be restricted to pure
|