aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/250_member_access_parser_ambiguity.sol
blob: 0ab3c1984c315ea8d1a2f5e5ad1e489ec0216831 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12




                                                         
                             





                         
          


       
contract C {
    struct R { uint[10][10] y; }
    struct S { uint a; uint b; uint[20][20][20] c; R d; }
    S data;
    function f() public {
        C.S storage x = data;
        C.S memory y;
        C.S[10] memory z;
        C.S[10];
        y.a = 2;
        x.c[1][2][3] = 9;
        x.d.y[2][2] = 3;
        z;
    }
}
// ----