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

12 lines
196 B
Solidity

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