mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
377 B
Solidity
10 lines
377 B
Solidity
contract C {
|
|
function f() public pure {
|
|
var ();
|
|
var (,);
|
|
}
|
|
}
|
|
// ----
|
|
// SyntaxError: (52-58): The use of the "var" keyword is disallowed. The declaration part of the statement can be removed, since it is empty.
|
|
// SyntaxError: (68-75): The use of the "var" keyword is disallowed. The declaration part of the statement can be removed, since it is empty.
|