blob: 96362ef0ce1ddec71fcaf814162f0c892bbc7994 (
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: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.
|