1  /* The bool bitfield type.  */
       2  
       3  /* { dg-do compile )  */
       4  /* { dg-options "-O0 -gctf -dA" } */
       5  
       6  /* { dg-final { scan-assembler-times "\[\t \]0x2\[\t \]+\[^\n\]*cts_type" 2 } } */
       7  /* { dg-final { scan-assembler-times "\[\t \]0x1\[\t \]+\[^\n\]*cts_bits" 2 } } */
       8  
       9  /* { dg-final { scan-assembler-times "ascii \"_Bool.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
      10  
      11  #include <stdbool.h>
      12  
      13  struct open_file {
      14    bool mmapped:1;
      15    bool released:1;
      16  } of;