mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Ensures an empty use of var keyword is caught with the proper error message.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
contract C {
|
||||
function f() public pure {
|
||||
(uint a, uint b, uint c);
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError: (76-77): Expected '=' but got ';'
|
||||
Reference in New Issue
Block a user