aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-03-14 17:34:16 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-03-14 17:34:16 +0800
commit9d079fd1261e40339157bff6fd46de96ae844562 (patch)
tree0035f7f0c4674579925953116fde816ea42496d1 /test/libsolidity
parent0d0c9b868817bad17968f9c23bce5d3844a5971c (diff)
downloaddexon-solidity-9d079fd1261e40339157bff6fd46de96ae844562.tar.gz
dexon-solidity-9d079fd1261e40339157bff6fd46de96ae844562.tar.zst
dexon-solidity-9d079fd1261e40339157bff6fd46de96ae844562.zip
DocStringParser: Add Changelog entry and test case for empty descriptions.
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/syntaxTests/docstring_empty_description.sol6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/docstring_empty_description.sol b/test/libsolidity/syntaxTests/docstring_empty_description.sol
new file mode 100644
index 00000000..0caa1b23
--- /dev/null
+++ b/test/libsolidity/syntaxTests/docstring_empty_description.sol
@@ -0,0 +1,6 @@
+contract C {
+ /// @param id
+ function vote(uint id) public;
+}
+// ----
+// DocstringParsingError: No description given for param id