view gcc/testsuite/gcc.dg/20020220-1.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR c++/4574
   This testcase ICEd because expand_and did not handle VOIDmode
   CONST_DOUBLE arguments.  */
/* { dg-do compile } */
/* { dg-options "-w" } */

struct A {
  unsigned long long b : 8;
  unsigned long long c : 18;
};

int main()
{
  struct A a;
  long long l;

  l = a.c = 0x123456789aULL;
  return 0;
}