1  /* Test BTF generation for pointers to void.
       2  
       3     In this test, we expect that the pointer references type ID 0, the reserved
       4     void typeid, and that no intermediate type is generated for void. */
       5  
       6  /* { dg-do compile } */
       7  /* { dg-options "-O0 -gbtf -dA" } */
       8  
       9  /* { dg-final { scan-assembler-times "\[\t \]0x2000000\[\t \]+\[^\n\]*btt_info" 1 } } */
      10  
      11  /* { dg-final { scan-assembler-times "\[\t \]0x1000000\[\t \]+\[^\n\]*btt_info" 0 } } */
      12  
      13  void *ptr;