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

10 lines
149 B
Solidity
Raw Normal View History

2018-05-17 07:04:39 +00:00
contract Foo {
2018-07-03 13:10:39 +00:00
uint[] m_x;
function f() public view {
uint[] storage x = m_x;
2018-05-17 07:04:39 +00:00
uint[] memory y;
2018-07-03 13:10:39 +00:00
x; y;
2018-05-17 07:04:39 +00:00
}
}
// ----