solidity/test/libsolidity/syntaxTests/specialFunctions/abidecode/abi_decode_struct_v2.sol
2020-11-24 14:57:45 +01:00

14 lines
207 B
Solidity

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