mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
207 B
Solidity
14 lines
207 B
Solidity
|
pragma experimental ABIEncoderV2;
|
||
|
|
||
|
struct S {
|
||
|
uint x;
|
||
|
}
|
||
|
|
||
|
contract C {
|
||
|
function f() public pure {
|
||
|
abi.decode("1234", (S));
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// Warning 6133: (113-136): Statement has no effect.
|