aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-11 01:31:09 +0800
committerGitHub <noreply@github.com>2017-07-11 01:31:09 +0800
commit6fa5d47f8fcd7076464ce8ed83c9d89883586f7a (patch)
treea6c7f8589da563c82470ed97262cf30fa91ff08f /test
parentaafcc3606cc20be1e7e8fe70494c63bb4f98d7fa (diff)
parent883666d2c0cf602640a52b26d5ef7da9da3018f4 (diff)
downloaddexon-solidity-6fa5d47f8fcd7076464ce8ed83c9d89883586f7a.tar
dexon-solidity-6fa5d47f8fcd7076464ce8ed83c9d89883586f7a.tar.gz
dexon-solidity-6fa5d47f8fcd7076464ce8ed83c9d89883586f7a.tar.bz2
dexon-solidity-6fa5d47f8fcd7076464ce8ed83c9d89883586f7a.tar.lz
dexon-solidity-6fa5d47f8fcd7076464ce8ed83c9d89883586f7a.tar.xz
dexon-solidity-6fa5d47f8fcd7076464ce8ed83c9d89883586f7a.tar.zst
dexon-solidity-6fa5d47f8fcd7076464ce8ed83c9d89883586f7a.zip
Merge pull request #2551 from ethereum/fixStructMemberWarning
Fix invalid "explicit storage keyword" warning for reference members of structs.
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 108128f7..3c49051e 100644
--- a/test/libsolidity/SolidityNameAndTypeResolution.cpp
+++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp
@@ -6160,7 +6160,7 @@ BOOST_AUTO_TEST_CASE(warn_unspecified_storage)
{
char const* text = R"(
contract C {
- struct S { uint a; }
+ struct S { uint a; string b; }
S x;
function f() {
S storage y = x;