solidity/test/libsolidity/smtCheckerTests/special/abi_decode_memory_v2.sol

12 lines
235 B
Solidity
Raw Normal View History

pragma abicoder v2;
2019-11-15 13:48:11 +00:00
contract C {
struct S { uint x; uint[] b; }
function f() public pure returns (S memory, bytes memory, uint[][2] memory) {
return abi.decode("abc", (S, bytes, uint[][2]));
}
2019-11-15 13:48:11 +00:00
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
2019-11-15 13:48:11 +00:00
// ----