summaryrefslogtreecommitdiff
path: root/test/FrontendC/2008-01-07-UnusualIntSize.c
blob: 924ae2ba37db3ddc77c8db085c863a43f9e5968d (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %llvmgcc %s -S -o - -O | grep {and.*8589934591}
// PR1721

struct s {
  unsigned long long u33: 33;
} a, b;

// This should turn into a real 33-bit add, not a 64-bit add.
_Bool test(void) {
  return a.u33 + b.u33 != 0;
}