solidity/test/libsolidity/syntaxTests/inheritance/override/override_modifier_no_override.sol
2022-04-01 23:41:18 -05:00

8 lines
194 B
Solidity

abstract contract A {
}
abstract contract X is A {
modifier f() override { _; }
}
// ----
// TypeError 7792: (65-73='override'): Modifier has override specified but does not override anything.