summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr37882.c
blob: d90e1ee342675a19b8499d6a913a4ee3b6293af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR middle-end/37882 */

struct S
{
  unsigned char b : 3;
} s;

int
main ()
{
  s.b = 4;
  if (s.b > 0 && s.b < 4)
    __builtin_abort ();
  return 0;
}