Pull out this predicate loop into a helper function.
[oota-llvm.git] / test / FrontendC / 2008-01-04-WideBitfield.c
1 // RUN: %llvmgcc -S -o - %s
2 // PR1386
3 #include <stdint.h>
4
5 struct X {
6   unsigned char pad : 4;
7   uint64_t a : 64;
8 } __attribute__((packed)) x;
9
10 uint64_t f(void)
11 {
12   return x.a;
13 }