aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/007_type_checking_return_wrong_number.sol
blob: 13c70ad9e3be39c7aefe7975a94a99dc7c171ec9 (plain) (tree)
1
2
3
4
5




                                                                                                     
contract test {
    function f() public returns (bool r1, bool r2) { return 1 >= 2; }
}
// ----
// TypeError: (69-82): Different number of arguments in return statement than in returns declaration.