aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/types/var_empty_decl_1.sol
blob: 20a004ff93c28df233686da8ed4fe3475ebf1b16 (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    function f() public pure {
        var a;
        a.NeverReachedByParser();
    }
}
// ----
// TypeError: (52-57): Use of the "var" keyword is disallowed.