solidity/test/libsolidity/syntaxTests/inheritance/override/add_view.sol

4 lines
111 B
Solidity

contract B { function f() virtual public {} }
contract C is B { function f() override public view {} }
// ----