aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-05-04 22:20:03 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-05-08 22:13:32 +0800
commit43ec1699ba688336891065e45c2d02402619189a (patch)
tree89235aac9dada5a3b8d8c809ced84d899eb7e986 /test
parent07e862a145c1b900c3bd0bf5d193c3bd8acc6c75 (diff)
downloaddexon-solidity-43ec1699ba688336891065e45c2d02402619189a.tar
dexon-solidity-43ec1699ba688336891065e45c2d02402619189a.tar.gz
dexon-solidity-43ec1699ba688336891065e45c2d02402619189a.tar.bz2
dexon-solidity-43ec1699ba688336891065e45c2d02402619189a.tar.lz
dexon-solidity-43ec1699ba688336891065e45c2d02402619189a.tar.xz
dexon-solidity-43ec1699ba688336891065e45c2d02402619189a.tar.zst
dexon-solidity-43ec1699ba688336891065e45c2d02402619189a.zip
Remove deprecated syntax from a test
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp
index 5a8be8b8..91fd1fff 100644
--- a/test/libsolidity/SolidityNameAndTypeResolution.cpp
+++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp
@@ -2894,7 +2894,7 @@ BOOST_AUTO_TEST_CASE(dynamic_return_types_not_possible)
contract C {
function f(uint) public returns (string);
function g() public {
- var (x,) = this.f(2);
+ var x = this.f(2);
// we can assign to x but it is not usable.
bytes(x).length;
}