solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/403_return_structs.sol

11 lines
354 B
Solidity
Raw Normal View History

pragma experimental ABIEncoderV2;
contract C {
struct S { uint a; T[] sub; }
struct T { uint[] x; }
function f() public returns (uint, S) {
}
}
// ----
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.
// Warning: (112-157): Function state mutability can be restricted to pure