aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-08-01 17:59:26 +0800
committerGitHub <noreply@github.com>2018-08-01 17:59:26 +0800
commit21888e246b771325ea55da39d7f335638da1a98e (patch)
tree79b783ffd5a7c85804094cd78a5ca7b600dd342f /test/libsolidity/syntaxTests/parsing
parent9d0e927f85eb5621bb464ced1a54b6624465779e (diff)
parenta7150f85a686bd2e96c01aa71f02fb0d762e0dd0 (diff)
downloaddexon-solidity-21888e246b771325ea55da39d7f335638da1a98e.tar
dexon-solidity-21888e246b771325ea55da39d7f335638da1a98e.tar.gz
dexon-solidity-21888e246b771325ea55da39d7f335638da1a98e.tar.bz2
dexon-solidity-21888e246b771325ea55da39d7f335638da1a98e.tar.lz
dexon-solidity-21888e246b771325ea55da39d7f335638da1a98e.tar.xz
dexon-solidity-21888e246b771325ea55da39d7f335638da1a98e.tar.zst
dexon-solidity-21888e246b771325ea55da39d7f335638da1a98e.zip
Merge pull request #4507 from ethereum/v050-var-keyword-trace-removals
Ensures an empty use of var keyword is caught with the proper non-fatal error message
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing')
-rw-r--r--test/libsolidity/syntaxTests/parsing/tuples_decl_without_rhs.sol7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/tuples_decl_without_rhs.sol b/test/libsolidity/syntaxTests/parsing/tuples_decl_without_rhs.sol
new file mode 100644
index 00000000..dba3e7ac
--- /dev/null
+++ b/test/libsolidity/syntaxTests/parsing/tuples_decl_without_rhs.sol
@@ -0,0 +1,7 @@
+contract C {
+ function f() public pure {
+ (uint a, uint b, uint c);
+ }
+}
+// ----
+// ParserError: (76-77): Expected '=' but got ';'