diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/122_warn_var_from_int8.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/122_warn_var_from_int8.sol | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/122_warn_var_from_int8.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/122_warn_var_from_int8.sol deleted file mode 100644 index bebcbab5..00000000 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/122_warn_var_from_int8.sol +++ /dev/null @@ -1,9 +0,0 @@ -contract test { - function f() pure public { - var i = -2; - i; - } -} -// ---- -// Warning: (55-60): Use of the "var" keyword is deprecated. -// Warning: (55-65): The type of this variable was inferred as int8, which can hold values between -128 and 127. This is probably not desired. Use an explicit type to silence this warning. |