summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/bitf.c
blob: 5b0aefc83d48047c1337cf1329ced4975aae8496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define int unsigned

struct foo
{
  int aa : 1;
  int a : 9;
  int c : 16;
  int d : 6;
};


int
foo (a, b)
     struct foo a;
{
  return a.d == 0;
}