aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/023_comparison_of_function_types_gt_2.sol
blob: 590cc98bb85ae8e0576be9be6a6f0482f7584bef (plain) (blame)
1
2
3
4
5
6
7
contract C {
    function f() public returns (bool ret) {
        return f > f;
    }
}
// ----
// TypeError: (73-78): Operator > not compatible with types function () returns (bool) and function () returns (bool)