1  void f1 (int *);
       2  void f2 (int);
       3  
       4  int test_1 (void)
       5  {
       6    int *p; /* { dg-message "region created on stack here" } */
       7  
       8    f1 (p); /* { dg-warning "use of uninitialized value 'p'" } */
       9    f1 (p); /* { dg-bogus "use of uninitialized value 'p'" "no followup warnings" } */
      10    return 0;
      11  }
      12  
      13  int test_2 (void)
      14  {
      15    int *p; /* { dg-message "region created on stack here" } */
      16  
      17    f2 (p[0]); /* { dg-warning "use of uninitialized value 'p'" } */
      18    return 0;
      19  }