mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
336 B
Solidity
13 lines
336 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: (85-91): Location already specified.
|
|
// ParserError: (123-130): Location already specified.
|
|
// ParserError: (131-139): Location already specified.
|