(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
cxxbitfields-6.c
       1  /* PR middle-end/50141 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -fno-allow-store-data-races" } */
       4  
       5  struct S
       6  {
       7    int i:8;
       8  };
       9  
      10  void bar (struct S, int);
      11  
      12  void
      13  foo (struct S s, int i)
      14  {
      15    s.i = i;
      16    bar (s, i);
      17  }