diff options
author | Christian Parpart <christian@ethereum.org> | 2018-07-12 22:17:30 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-08-01 15:59:06 +0800 |
commit | a7150f85a686bd2e96c01aa71f02fb0d762e0dd0 (patch) | |
tree | f14d447fe9a3b82c7b58f314bb3d527d766f1bc6 /test/libsolidity/syntaxTests/parsing | |
parent | beb66db66feda8ef59176069eea393aa5884c5da (diff) | |
download | dexon-solidity-a7150f85a686bd2e96c01aa71f02fb0d762e0dd0.tar dexon-solidity-a7150f85a686bd2e96c01aa71f02fb0d762e0dd0.tar.gz dexon-solidity-a7150f85a686bd2e96c01aa71f02fb0d762e0dd0.tar.bz2 dexon-solidity-a7150f85a686bd2e96c01aa71f02fb0d762e0dd0.tar.lz dexon-solidity-a7150f85a686bd2e96c01aa71f02fb0d762e0dd0.tar.xz dexon-solidity-a7150f85a686bd2e96c01aa71f02fb0d762e0dd0.tar.zst dexon-solidity-a7150f85a686bd2e96c01aa71f02fb0d762e0dd0.zip |
Ensures an empty use of var keyword is caught with the proper error message.
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/tuples_decl_without_rhs.sol | 7 |
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 ';' |