mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Parser fix: Consume break and continue.
This commit is contained in:
parent
cacc4477bf
commit
3f4befd6b4
@ -185,7 +185,7 @@ BOOST_AUTO_TEST_CASE(while_loop)
|
||||
{
|
||||
char const* text = "contract test {\n"
|
||||
" function fun(uint256 a) {\n"
|
||||
" uint256 x = (1 + 4).member(++67) || true;\n"
|
||||
" while (true) { uint256 x = 1; break; continue; } x = 9;\n"
|
||||
" }\n"
|
||||
"}\n";
|
||||
BOOST_CHECK_NO_THROW(parseText(text));
|
||||
|
Loading…
Reference in New Issue
Block a user