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

6 lines
220 B
Solidity
Raw Normal View History

abstract contract A { function f() public pure virtual; }
contract B is A { function f() public pure virtual override {} }
contract C is A, B { }
contract D is A, B { function f() public pure override(A, B) {} }
// ----