mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
244 B
Solidity
16 lines
244 B
Solidity
abstract contract A { modifier mod(uint a) virtual;}
|
|
contract B is A { modifier mod(uint a) override { _; } }
|
|
|
|
abstract contract C {
|
|
modifier m virtual;
|
|
function f() m public {
|
|
|
|
}
|
|
}
|
|
contract D is C {
|
|
modifier m override {
|
|
_;
|
|
}
|
|
}
|
|
// ----
|