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

12 lines
232 B
Solidity
Raw Normal View History

2020-06-29 12:30:09 +00:00
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.