summaryrefslogblamecommitdiff
path: root/tests/exec/arith2.cpp
blob: d75bb6ba202faa31a6560a4076e6200ae335a347 (plain) (tree)
1
2
3
4
5
6
7






                                                                    
#include <iostream>

int main() {
  std::cout << (1 < 2 && 2 <= 3 || (1 + 3)  == (4 + 0)) << "\n";
  std::cout << (2 > 1 && (2 >= 3 || 3 != 3)  == ! (3 == 4)) << "\n";
  std::cout << (- 2 * - 5 ==  2 && 1 == 2 && 0 == 0) << "\n";
}