aboutsummaryrefslogtreecommitdiff
path: root/tests/core/test_i64_cmp.in
blob: b9cadd4a20a748ce03c1a38d25e23befbe1458ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

typedef long long int64;

bool compare(int64 val) { return val == -12; }

bool compare2(int64 val) { return val < -12; }

int main(int argc, char* argv[]) {
  printf("*%d,%d,%d,%d,%d,%d*\n", argc, compare(argc - 1 - 12),
         compare(1000 + argc), compare2(argc - 1 - 10), compare2(argc - 1 - 14),
         compare2(argc + 1000));
  return 0;
}