solidity/test/libsolidity/syntaxTests/structs/recursion/parallel_structs.sol

16 lines
373 B
Solidity
Raw Normal View History

2018-03-15 18:07:25 +00:00
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.