(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr94206.c
       1  /* { dg-do run { target lp64 } } */
       2  
       3  struct {
       4      unsigned long x:33;
       5  } s;
       6  typedef __typeof__(s.x + 0) uint33;
       7  
       8  int main()
       9  {
      10    uint33 x;
      11    __builtin_memset(&x, -1, sizeof x);
      12    unsigned long u;
      13    __builtin_memcpy(&u, &x, sizeof u);
      14    if (u != -1ul)
      15      __builtin_abort ();
      16    return 0;
      17  }