solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/250_member_access_parser_ambiguity.sol

17 lines
332 B
Solidity
Raw Normal View History

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;
}
}
// ----