diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-02-23 21:32:17 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-02-23 21:32:17 +0800 |
commit | c5b2733d1e405487b0b3d419b22a08883ac487dd (patch) | |
tree | dc8257f8e0a2b9b01c63721a4fdeb2eb6e125b16 /SolidityParser.cpp | |
parent | f924681adf68e5cfbbffa98795014e4fb4f476a8 (diff) | |
parent | cd9262badfd1cd7425469d0eba94a5109c20960a (diff) | |
download | dexon-solidity-c5b2733d1e405487b0b3d419b22a08883ac487dd.tar.gz dexon-solidity-c5b2733d1e405487b0b3d419b22a08883ac487dd.tar.zst dexon-solidity-c5b2733d1e405487b0b3d419b22a08883ac487dd.zip |
Merge remote-tracking branch 'upstream/develop' into memTests
Diffstat (limited to 'SolidityParser.cpp')
-rw-r--r-- | SolidityParser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SolidityParser.cpp b/SolidityParser.cpp index ddb58244..69bbc6e0 100644 --- a/SolidityParser.cpp +++ b/SolidityParser.cpp @@ -651,13 +651,13 @@ BOOST_AUTO_TEST_CASE(visibility_specifiers) char const* text = R"( contract c { uint private a; - uint inheritable b; + uint internal b; uint public c; uint d; function f() {} function f_priv() private {} function f_public() public {} - function f_inheritable() inheritable {} + function f_internal() internal {} })"; BOOST_CHECK_NO_THROW(parseText(text)); } @@ -666,7 +666,7 @@ BOOST_AUTO_TEST_CASE(multiple_visibility_specifiers) { char const* text = R"( contract c { - uint private inheritable a; + uint private internal a; })"; BOOST_CHECK_THROW(parseText(text), ParserError); } |