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

14 lines
502 B
Solidity
Raw Normal View History

contract C {
function f() public pure {
2018-05-23 13:39:26 +00:00
bool a = address(this).call(abi.encode(address(this).delegatecall, super));
bool b = address(this).delegatecall(abi.encode(log0, tx, mulmod));
a; b;
}
}
// ----
2018-05-23 13:39:26 +00:00
// TypeError: (91-117): This type cannot be encoded.
// TypeError: (119-124): This type cannot be encoded.
// TypeError: (183-187): This type cannot be encoded.
// TypeError: (189-191): This type cannot be encoded.
// TypeError: (193-199): This type cannot be encoded.