aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityABIJSON.cpp
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-08-03 00:55:06 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-08-03 01:34:38 +0800
commit35c5b7de256f09bcfb77c6dc700ea1a54b1ec27c (patch)
tree573b39d8f9e45f611e7ba315e16b3cf47bfd4a81 /test/libsolidity/SolidityABIJSON.cpp
parent009a55c82d22f08fd207739d7b8aeff215fb7c03 (diff)
downloaddexon-solidity-35c5b7de256f09bcfb77c6dc700ea1a54b1ec27c.tar.gz
dexon-solidity-35c5b7de256f09bcfb77c6dc700ea1a54b1ec27c.tar.zst
dexon-solidity-35c5b7de256f09bcfb77c6dc700ea1a54b1ec27c.zip
Turn warning about uninitialized storage returns into an error.
Diffstat (limited to 'test/libsolidity/SolidityABIJSON.cpp')
-rw-r--r--test/libsolidity/SolidityABIJSON.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityABIJSON.cpp b/test/libsolidity/SolidityABIJSON.cpp
index 14413ca0..f2d6d66f 100644
--- a/test/libsolidity/SolidityABIJSON.cpp
+++ b/test/libsolidity/SolidityABIJSON.cpp
@@ -756,7 +756,7 @@ BOOST_AUTO_TEST_CASE(library_function)
char const* sourceCode = R"(
library test {
struct StructType { uint a; }
- function f(StructType storage b, uint[] storage c, test d) public returns (uint[] memory e, StructType storage f) {}
+ function f(StructType storage b, uint[] storage c, test d) public returns (uint[] memory e, StructType storage f) { f = f; }
}
)";