solidity/test/libsolidity/syntaxTests/modifiers/legal_modifier_override.sol

4 lines
116 B
Solidity
Raw Permalink Normal View History

2019-12-06 09:07:56 +00:00
contract A { modifier mod(uint a) virtual { _; } }
contract B is A { modifier mod(uint a) override { _; } }
// ----