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

10 lines
205 B
Solidity

contract B {}
contract C {
/// @inheritdoc B
/// @inheritdoc B
function f() internal {}
}
// ----
// DocstringParsingError 5142: (32-71): Documentation tag @inheritdoc can only be given once.