solidity/test/libsolidity/syntaxTests/natspec/invalid/docstring_inheritdoc3.sol
2020-07-20 18:32:18 +02:00

12 lines
232 B
Solidity

contract D {
struct S { uint a; }
}
contract C is D {
/// @inheritdoc D.S
function f() internal {
}
}
// ----
// DocstringParsingError 1430: (63-82): Documentation tag @inheritdoc reference "D.S" is not a contract.