Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
olabetskyi committed Feb 3, 2025
1 parent 5277d21 commit c30f7be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,10 @@ static void constFold()
ASSERT_EQUALS("1", testConstFold("010==8"));
ASSERT_EQUALS("exception", testConstFold("!1 ? 2 :"));
ASSERT_EQUALS("exception", testConstFold("?2:3"));
ASSERT_EQUALS("0", testConstFold("( 0 ) && 10 < X"));
ASSERT_EQUALS("0", testConstFold("1+2*(3+4) && 7 - 7"));
ASSERT_EQUALS("1", testConstFold("( 1 ) || 10 < X"));
ASSERT_EQUALS("1", testConstFold("1+2*(3+4) || 8 - 7"));
}

#ifdef __CYGWIN__
Expand Down

0 comments on commit c30f7be

Please sign in to comment.