mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix style of "const".
This commit is contained in:
@@ -544,7 +544,7 @@ BOOST_AUTO_TEST_CASE(keyword_is_reserved)
|
||||
"unchecked"
|
||||
};
|
||||
|
||||
for (const auto& keyword: keywords)
|
||||
for (auto const& keyword: keywords)
|
||||
{
|
||||
auto text = std::string("contract ") + keyword + " {}";
|
||||
CHECK_PARSE_ERROR(text.c_str(), string("Expected identifier but got reserved keyword '") + keyword + "'");
|
||||
|
||||
Reference in New Issue
Block a user