solidity/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_special_types.sol
2018-04-10 14:08:22 +02:00

14 lines
478 B
Solidity

contract C {
function f() public pure {
bool a = address(this).call(address(this).delegatecall, super);
bool b = address(this).delegatecall(log0, tx, mulmod);
a; b;
}
}
// ----
// TypeError: (80-106): This type cannot be encoded.
// TypeError: (108-113): This type cannot be encoded.
// TypeError: (160-164): This type cannot be encoded.
// TypeError: (166-168): This type cannot be encoded.
// TypeError: (170-176): This type cannot be encoded.