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

15 lines
269 B
Solidity
Raw Normal View History

2020-11-23 18:06:44 +00:00
pragma abicoder v2;
2018-03-15 18:07:25 +00:00
contract TestContract
{
struct SubStruct {
uint256 id;
}
struct TestStruct {
SubStruct subStruct1;
SubStruct subStruct2;
}
function addTestStruct(TestStruct memory) public pure {}
2018-03-15 18:07:25 +00:00
}
// ----