diff options
author | Christian Parpart <christian@parpart.family> | 2018-06-11 20:15:27 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-06-26 16:40:26 +0800 |
commit | e38139c800a780ee6d7aeb55af86aea16a08a907 (patch) | |
tree | d6f2fe45fce21ba5980cf4a63e84701ebf9f37d8 /test/libsolidity/syntaxTests/nameAndTypeResolution/017_assignment_to_struct.sol | |
parent | a083ccd4575bede56724e9ef851a2035f7d5ffb0 (diff) | |
download | dexon-solidity-e38139c800a780ee6d7aeb55af86aea16a08a907.tar dexon-solidity-e38139c800a780ee6d7aeb55af86aea16a08a907.tar.gz dexon-solidity-e38139c800a780ee6d7aeb55af86aea16a08a907.tar.bz2 dexon-solidity-e38139c800a780ee6d7aeb55af86aea16a08a907.tar.lz dexon-solidity-e38139c800a780ee6d7aeb55af86aea16a08a907.tar.xz dexon-solidity-e38139c800a780ee6d7aeb55af86aea16a08a907.tar.zst dexon-solidity-e38139c800a780ee6d7aeb55af86aea16a08a907.zip |
test: Adapted to the change of the var-keyword elimination.
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/017_assignment_to_struct.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/017_assignment_to_struct.sol | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/017_assignment_to_struct.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/017_assignment_to_struct.sol index f7db0b24..6fbd09ae 100644 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/017_assignment_to_struct.sol +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/017_assignment_to_struct.sol @@ -4,9 +4,8 @@ contract test { } str data; function fun() public { - var a = data; + str storage a = data; data = a; } } // ---- -// Warning: (122-127): Use of the "var" keyword is deprecated. |