solidity/test/libsolidity/syntaxTests/specialFunctions/abidecode/contract_array.sol

5 lines
112 B
Solidity
Raw Normal View History

contract C {
function f(bytes calldata x) public pure returns (C[] memory c) {
c = abi.decode(x, (C[]));
}
}