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