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

6 lines
113 B
Solidity
Raw Normal View History

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