mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
196 B
Solidity
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 {}
|
|
}
|
|
// ----
|