summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/bitfield1.C
blob: f3d47417b286888fc33b89dfcfc1207bac15b19c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/27505

struct s {
  bool field:8;
};

void
foo (struct s *p)
{
  if (!p->field)
    ;
}