mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Also test non-equality comparison operator.
This commit is contained in:
parent
f35ee00ca2
commit
f96578196e
@ -315,7 +315,7 @@ BOOST_AUTO_TEST_CASE(comparison_bitop_precedence)
|
|||||||
{
|
{
|
||||||
char const* text = "contract First {\n"
|
char const* text = "contract First {\n"
|
||||||
" function fun() returns (bool ret) {\n"
|
" function fun() returns (bool ret) {\n"
|
||||||
" return 1 & 2 == 8 & 9;\n"
|
" return 1 & 2 == 8 & 9 && 1 ^ 2 < 4 | 6;\n"
|
||||||
" }\n"
|
" }\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
BOOST_CHECK_NO_THROW(parseTextAndResolveNames(text));
|
BOOST_CHECK_NO_THROW(parseTextAndResolveNames(text));
|
||||||
|
Loading…
Reference in New Issue
Block a user