solidity/test/libsolidity/syntaxTests/modifiers/empty_modifier_body.sol
2020-04-23 17:27:37 +05:30

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 {
_;
}
}