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