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

13 lines
351 B
Solidity

contract Foo {
uint[] m_x;
function f() public view {
uint[] storage memory x = m_x;
uint[] memory storage calldata y;
x; y;
}
}
// ----
// ParserError 3548: (85-91): Location already specified.
// ParserError 3548: (123-130): Location already specified.
// ParserError 3548: (131-139): Location already specified.