diff options
author | chriseth <chris@ethereum.org> | 2018-07-13 00:00:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13 00:00:05 +0800 |
commit | 81271801b4560c15911b69a9f6d7e0530359f523 (patch) | |
tree | 9e52f36778ee877b1dc2fdf9b532b8aae39f369c /test/libsolidity/ASTJSON.cpp | |
parent | 0dd79bc1724bfd5031dd6d1bc3b4c1eda283b5f3 (diff) | |
parent | df8bbffd8e5b16d29f71860e1c3c851dd65693c4 (diff) | |
download | dexon-solidity-81271801b4560c15911b69a9f6d7e0530359f523.tar dexon-solidity-81271801b4560c15911b69a9f6d7e0530359f523.tar.gz dexon-solidity-81271801b4560c15911b69a9f6d7e0530359f523.tar.bz2 dexon-solidity-81271801b4560c15911b69a9f6d7e0530359f523.tar.lz dexon-solidity-81271801b4560c15911b69a9f6d7e0530359f523.tar.xz dexon-solidity-81271801b4560c15911b69a9f6d7e0530359f523.tar.zst dexon-solidity-81271801b4560c15911b69a9f6d7e0530359f523.zip |
Merge pull request #4478 from ethereum/requireStorageLocation
Turn missing storage locations into an error.
Diffstat (limited to 'test/libsolidity/ASTJSON.cpp')
-rw-r--r-- | test/libsolidity/ASTJSON.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/ASTJSON.cpp b/test/libsolidity/ASTJSON.cpp index 03e74097..482b05e6 100644 --- a/test/libsolidity/ASTJSON.cpp +++ b/test/libsolidity/ASTJSON.cpp @@ -88,7 +88,7 @@ BOOST_AUTO_TEST_CASE(long_type_name_binary_operation) BOOST_AUTO_TEST_CASE(long_type_name_identifier) { CompilerStack c; - c.addSource("a", "contract c { uint[] a; function f() public { uint[] b = a; } }"); + c.addSource("a", "contract c { uint[] a; function f() public { uint[] storage b = a; } }"); c.setEVMVersion(dev::test::Options::get().evmVersion()); c.parseAndAnalyze(); map<string, unsigned> sourceIndices; |