solidity/test/libsolidity/syntaxTests/natspec/invalid/docstring_inheritdoc_emptys.sol
2022-04-01 23:41:18 -05:00

20 lines
737 B
Solidity

contract C {
/// @inheritdoc
function f() internal {
}
/// @inheritdoc .
function f() internal {
}
/// @inheritdoc C..f
function f() internal {
}
/// @inheritdoc C.
function f() internal {
}
}
// ----
// DocstringParsingError 1933: (17-32='/// @inheritdoc'): Expected contract name following documentation tag @inheritdoc.
// DocstringParsingError 5967: (71-88='/// @inheritdoc .'): Documentation tag @inheritdoc reference "." is malformed.
// DocstringParsingError 5967: (127-147='/// @inheritdoc C..f'): Documentation tag @inheritdoc reference "C..f" is malformed.
// DocstringParsingError 5967: (186-204='/// @inheritdoc C.'): Documentation tag @inheritdoc reference "C." is malformed.