Also test non-equality comparison operator.

This commit is contained in:
Christian 2014-12-18 17:49:11 +01:00
parent f35ee00ca2
commit f96578196e

View File

@ -315,7 +315,7 @@ BOOST_AUTO_TEST_CASE(comparison_bitop_precedence)
{
char const* text = "contract First {\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";
BOOST_CHECK_NO_THROW(parseTextAndResolveNames(text));