solidity/test/libsolidity/syntaxTests/inheritance/override/override_modifier_no_override.sol

8 lines
183 B
Solidity

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