1  /* BTF generation for variables. */
       2  
       3  /* { dg-do compile } */
       4  /* { dg-options "-O0 -gbtf -dA" } */
       5  
       6  /* We expect 6 variables */
       7  /* { dg-final { scan-assembler-times "\[\t \]0xe000000\[\t \]+\[^\n\]*btv_info" 6 } } */
       8  
       9  unsigned int x1;
      10  
      11  struct st
      12  {
      13    int a;
      14    int b;
      15  };
      16  
      17  union {
      18    long int value;
      19    struct st * pointer;
      20  } bar;
      21  
      22  enum
      23  {
      24    FOO = 0,
      25    BAR = 2,
      26    BAZ,
      27  } lala;
      28  
      29  int arr[10][20];
      30  
      31  unsigned long * plong;
      32  
      33  struct st st_inst;