llvm-mirror/test/FrontendC/2008-01-07-UnusualIntSize.c

12 lines
215 B
C
Raw Normal View History

// RUN: %llvmgcc %s -S -o - -O | grep i33
2008-01-08 05:16:29 +00:00
// 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;
}