llvm-mirror/test/FrontendC/2008-01-07-UnusualIntSize.c
Anton Korobeynikov eb3cd5e822 For PR1338: Rename test dirs
llvm-svn: 51695
2008-05-29 19:17:15 +00:00

12 lines
229 B
C

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