summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/BUG13.c
blob: 9a302b9515293f10c705f179e974e8967963bc64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
struct tree_common
{
  int uid;
  unsigned int code : 8;
  unsigned int code2 : 8;
  unsigned external_attr : 1;
  unsigned public_attr : 1;

};

static int
duplicate_decls (x)
     register struct tree_common *x;
{
  if (x->external_attr)
    if (x->code)
      if (x->code2)
	x->public_attr = 1;
}