mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix syntax error
This commit is contained in:
parent
ff756bc94d
commit
a8c5d2bbde
@ -540,7 +540,7 @@ BOOST_AUTO_TEST_CASE(if_statement)
|
||||
{
|
||||
char const* text = "contract test {\n"
|
||||
" function fun(uint256 a) {\n"
|
||||
" if (a >= 8) { return 2 }; else { var b = 7; }\n"
|
||||
" if (a >= 8) { return 2; } else { var b = 7; }\n"
|
||||
" }\n"
|
||||
"}\n";
|
||||
BOOST_CHECK(successParse(text));
|
||||
|
Loading…
Reference in New Issue
Block a user