aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/020_comparison_of_function_types_lt_1.sol
blob: 1f288ff7230b750988b341a413e7bcc9c6b96511 (plain) (blame)
1
2
3
4
5
6
7
contract C {
    function f() public returns (bool ret) {
        return this.f < this.f;
    }
}
// ----
// TypeError: (73-88): Operator < not compatible with types function () external returns (bool) and function () external returns (bool)