solidity/test/libsolidity/syntaxTests/structs/recursion/parallel_structs.sol
2018-04-10 14:08:22 +02:00

16 lines
373 B
Solidity

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