aboutsummaryrefslogtreecommitdiff
path: root/SingleSource/UnitTests/2006-12-07-Compare64BitConstant.c
blob: d5ebc560aa07c70a7daefb6d1e689b7a84c90731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>

long long Large = 5LL << 48;

int main(int argc, const char *argv[]) {
  // Make sure large constants compare correctly.
  if (((Large >> 48) & 7LL) == 5LL) {
    printf("Works.\n");
  } else {
    printf("Doesn\'t.\n");
  }
  return 0;
}