mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
172 B
Solidity
9 lines
172 B
Solidity
|
contract C {
|
||
|
function f() public pure {
|
||
|
var a;
|
||
|
a.NeverReachedByParser();
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (52-57): Use of the "var" keyword is disallowed.
|