solidity/test/libsolidity/syntaxTests/specialFunctions/abidecode/abi_decode_struct_v2.sol
2022-04-01 23:41:18 -05:00

14 lines
233 B
Solidity

pragma abicoder v2;
struct S {
uint x;
}
contract C {
function f() public pure {
abi.decode("1234", (S));
}
}
// ----
// Warning 6133: (113-136='abi.decode("1234", (S))'): Statement has no effect.