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 x; } } // ---- // TypeError: Recursive struct definition.