solidity/test/libsolidity/syntaxTests/natspec/invalid/docstring_inheritdoc2.sol

11 lines
277 B
Solidity
Raw Normal View History

2020-06-29 12:30:09 +00:00
contract D {
}
contract C is D {
/// @inheritdoc D
function f() internal {
}
}
// ----
// DocstringParsingError 4682: (38-55): Documentation tag @inheritdoc references contract "D", but the contract does not contain a function that is overridden by this function.