aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/modifiers/illegal_modifier_override.sol
blob: 958be686cdd2667b795fe055a7b2e0cf90038c9a (plain) (blame)
1
2
3
4
contract A { modifier mod(uint a) { _; } }
contract B is A { modifier mod(uint8 a) { _; } }
// ----
// TypeError: (61-89): Override changes modifier signature.