aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_special_types.sol
blob: c97f588e6adcef8d861d7a4d6585d3a33de1cea1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
contract C {
    function f() public pure {
        bool a = address(this).call(abi.encode(address(this).delegatecall, super));
        bool b = address(this).delegatecall(abi.encode(log0, tx, mulmod));
        a; b;
    }
}
// ----
// 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.