solidity/test/libsolidity/syntaxTests/modifiers/use_unimplemented_on_overridden_func.sol

9 lines
160 B
Solidity
Raw Normal View History

abstract contract A {
modifier m() virtual;
function f() m public virtual {}
}
abstract contract B is A {
function f() public override {}
}
// ----