solidity/test/libsolidity/syntaxTests/types/var_empty_decl_2.sol

10 lines
210 B
Solidity

contract C {
function f() public pure {
var (b, c);
b.WeMustNotReachHere();
c.FailsToLookupToo();
}
}
// ----
// TypeError 4626: (52-62): Use of the "var" keyword is disallowed.