emscripten/tests/core/test_i64_cmp.in

15 строки
369 B
Plaintext

#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;
}