aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/142_inheritence_suggestions.sol
blob: 4231e1bddbbac3f96325a459e858a34f7c88a081 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                           
contract a { function func() public {} }
contract c is a {
    function g() public {
        uint var1 = fun();
    }
}
// ----
// DeclarationError: (105-108): Undeclared identifier. Did you mean "func"?