diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-07-10 18:48:09 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-18 00:03:35 +0800 |
commit | 75bba5c9f02df281c667b77db01594c5c7eb823d (patch) | |
tree | f11e7f2a996874e009b1f34be7e8b77cb50d9be5 /test/libsolidity/SolidityEndToEndTest.cpp | |
parent | b5ecfbe5bc2afdf8f42ec67715794aefad9dfe0f (diff) | |
download | dexon-solidity-75bba5c9f02df281c667b77db01594c5c7eb823d.tar dexon-solidity-75bba5c9f02df281c667b77db01594c5c7eb823d.tar.gz dexon-solidity-75bba5c9f02df281c667b77db01594c5c7eb823d.tar.bz2 dexon-solidity-75bba5c9f02df281c667b77db01594c5c7eb823d.tar.lz dexon-solidity-75bba5c9f02df281c667b77db01594c5c7eb823d.tar.xz dexon-solidity-75bba5c9f02df281c667b77db01594c5c7eb823d.tar.zst dexon-solidity-75bba5c9f02df281c667b77db01594c5c7eb823d.zip |
Adjusts tests to expect type errors on default visibility.
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index 0fe21c4a..d8f2f531 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -670,7 +670,7 @@ BOOST_AUTO_TEST_CASE(nested_loops_multiple_local_vars) // and free local variables properly char const* sourceCode = R"( contract test { - function f(uint x) returns(uint y) { + function f(uint x) public returns(uint y) { while (x > 0) { uint z = x + 10; uint k = z + 1; @@ -9536,7 +9536,7 @@ BOOST_AUTO_TEST_CASE(continue_in_modifier) _; } } - function f() run { + function f() run public { uint k = x; uint t = k + 1; x = t; @@ -9560,7 +9560,7 @@ BOOST_AUTO_TEST_CASE(return_in_modifier) _; } } - function f() run { + function f() run public { uint k = x; uint t = k + 1; x = t; |