aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-doc/test
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sol-doc/test')
-rw-r--r--packages/sol-doc/test/fixtures/contracts/NatspecEverything.sol3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/sol-doc/test/fixtures/contracts/NatspecEverything.sol b/packages/sol-doc/test/fixtures/contracts/NatspecEverything.sol
index 3dea03c9a..c6ad3db81 100644
--- a/packages/sol-doc/test/fixtures/contracts/NatspecEverything.sol
+++ b/packages/sol-doc/test/fixtures/contracts/NatspecEverything.sol
@@ -16,6 +16,9 @@ contract NatspecEverything {
/// @return publicMethod @return
function publicMethod(int p) public pure returns(int r) { return p; }
+ /// @dev Fallback @dev
+ function () public {}
+
/// @notice externalMethod @notice
/// @dev externalMethod @dev
/// @param p externalMethod @param