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

9 lines
207 B
Solidity

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