solidity/test/libsolidity/syntaxTests/inheritance/override/override_modifier_no_override.sol
2019-12-09 18:41:39 +01:00

8 lines
178 B
Solidity

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