1  /* Test BTF generation for struct type with a member which refers to an
       2     unsupported type.
       3  
       4     BTF does not support floating point types (among other things). When
       5     generating BTF for a struct (or union) type, members which refer to
       6     unsupported types should be skipped.  */
       7  
       8  /* { dg-do compile } */
       9  /* { dg-options "-O0 -gbtf -dA" } */
      10  
      11  /* Expect a struct with only 2 members - 'f' should not be present.  */
      12  /* { dg-final { scan-assembler-times "\[\t \]0x4000002\[\t \]+\[^\n\]*btt_info" 1 } } */
      13  
      14  struct with_float
      15  {
      16    int a;
      17    float __attribute__((__vector_size__(16))) f;
      18    char c;
      19  } instance;