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

8 lines
178 B
Solidity
Raw Normal View History

2019-12-09 15:14:22 +00:00
abstract contract A {
}
abstract contract X is A {
modifier f() override { _; }
}
// ----
// TypeError: (65-73): Modifier has override specified but does not override anything.