solidity/test/libsolidity/syntaxTests/parsing/location_specifiers_for_locals.sol

12 lines
321 B
Solidity
Raw Normal View History

2018-05-17 07:04:39 +00:00
contract Foo {
function f() public {
2018-05-17 07:04:39 +00:00
uint[] storage x;
uint[] memory y;
}
}
// ----
// Warning: (49-65): Uninitialized storage pointer.
// Warning: (49-65): Unused local variable.
// Warning: (75-90): Unused local variable.
// Warning: (19-97): Function state mutability can be restricted to pure