aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/181_override_changes_return_types.sol
blob: c887f259719fbbb32eabc38cf72d5366758b3fc7 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                
contract base {
    function f(uint a) public returns (uint) { }
}
contract test is base {
    function f(uint a) public returns (uint8) { }
}
// ----
// TypeError: (95-140): Overriding function return types differ.