aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/structs/recursion/parallel_structs.sol
blob: d4ad088dcb84b1f738c5c6e009f59acbeb6acdd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pragma experimental ABIEncoderV2;

contract TestContract
{
    struct SubStruct {
        uint256 id;
    }
    struct TestStruct {
        SubStruct subStruct1;
        SubStruct subStruct2;
    }
    function addTestStruct(TestStruct) public pure {}
}
// ----
// Warning: Experimental features are turned on. Do not use experimental features on live deployments.