aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/modifiers/modifier_overrides_function.sol
blob: a43646c3353a111c195432f60df3809f08882bdb (plain) (tree)
1
2
3
4
5


                                                   

                                                             
contract A { modifier mod(uint a) { _; } }
contract B is A { function mod(uint a) public { } }
// ----
// DeclarationError: (61-92): Identifier already declared.
// TypeError: (13-40): Override changes modifier to function.