aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/location_specifiers_for_locals_multi.sol
blob: d53208ef2e9d6f4be94992bb5e462db5afdd11d8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                      
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.