diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/490_function_types_selector_7.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/490_function_types_selector_7.sol | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/490_function_types_selector_7.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/490_function_types_selector_7.sol index ed6c01c5..9ee7d9bb 100644 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/490_function_types_selector_7.sol +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/490_function_types_selector_7.sol @@ -3,9 +3,7 @@ contract C { } function f() view external returns (bytes4) { function () pure external g = this.h; - var i = g; - return i.selector; + return g.selector; } } // ---- -// Warning: (156-161): Use of the "var" keyword is deprecated. |