solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/585_abi_decode_with_unsupported_types.sol

9 lines
194 B
Solidity
Raw Normal View History

contract C {
struct s { uint a; uint b; }
function f() pure public {
abi.decode("", (s));
}
}
// ----
// TypeError 9611: (98-99): Decoding type struct C.s memory not supported.