view gcc/testsuite/c-c++-common/pr65556.c @ 118:fd00160c1b76

ifdef TARGET_64BIT
author mir3636
date Tue, 27 Feb 2018 15:01:35 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR c++/65556 */
/* { dg-do compile } */

struct S
{
  long l: 1;
  long l2: 21;
  unsigned long ul: 1;
  unsigned long ul2: 21;
} s;

void
fn ()
{
  switch (s.l)
    case 0:;
  switch (s.ul)
    case 0:;
  switch (s.l2)
    case 0:;
  switch (s.ul2)
    case 0:;
}