aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/structs/recursion/struct_definition_indirectly_recursive_fixed_array2.sol
blob: 3178e569212b05c3a4253c2a55264e386b810559 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
contract Test {
    struct MyStructName1 {
        address addr;
        uint256 count;
        MyStructName2 x;
    }
    struct MyStructName2 {
        MyStructName1[1] x;
    }
}
// ----
// TypeError: (20-118): Recursive struct definition.