solidity/test/libsolidity/syntaxTests/modifiers/empty_modifier_body.sol
2021-04-20 17:38:29 +02:00

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