summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20020220-1.c
blob: aa948aa15e9fa4469325d6e54ba7906071c10bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* 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;
}