aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/unterminatedBlocks/one_dot.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-24 20:43:53 +0800
committerGitHub <noreply@github.com>2018-09-24 20:43:53 +0800
commitcb3a837251087001c738cb8f123db231bb00a31d (patch)
treeefb27871d64cb6afe87e5617565ef3c0ca219fa1 /test/libsolidity/syntaxTests/unterminatedBlocks/one_dot.sol
parent0f53f80eb2c0630005afdc954c702da70b9dbc82 (diff)
parentfaa0caae084363f6809341ddb63f75d6c682b175 (diff)
downloaddexon-solidity-cb3a837251087001c738cb8f123db231bb00a31d.tar.gz
dexon-solidity-cb3a837251087001c738cb8f123db231bb00a31d.tar.zst
dexon-solidity-cb3a837251087001c738cb8f123db231bb00a31d.zip
Merge pull request #5003 from herrBez/cleanUpdated
Add syntax tests to fix #4627
Diffstat (limited to 'test/libsolidity/syntaxTests/unterminatedBlocks/one_dot.sol')
-rw-r--r--test/libsolidity/syntaxTests/unterminatedBlocks/one_dot.sol4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/unterminatedBlocks/one_dot.sol b/test/libsolidity/syntaxTests/unterminatedBlocks/one_dot.sol
new file mode 100644
index 00000000..a678f004
--- /dev/null
+++ b/test/libsolidity/syntaxTests/unterminatedBlocks/one_dot.sol
@@ -0,0 +1,4 @@
+contract c {
+ function f() pure public { 1.
+// ----
+// ParserError: (47-47): Expected identifier but got end of source \ No newline at end of file