solidity/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_special_types.sol

14 lines
500 B
Solidity
Raw Normal View History

contract C {
function f() public pure {
2018-08-15 21:30:09 +00:00
(bool a,) = address(this).call(abi.encode(address(this).delegatecall, super));
(a,) = address(this).delegatecall(abi.encode(log0, tx, mulmod));
a;
}
}
// ----
2018-08-15 21:30:09 +00:00
// TypeError: (94-120): This type cannot be encoded.
// TypeError: (122-127): This type cannot be encoded.
// TypeError: (184-188): This type cannot be encoded.
// TypeError: (190-192): This type cannot be encoded.
// TypeError: (194-200): This type cannot be encoded.