(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
spellcheck-pr83056.c
       1  enum { TYPE_A };
       2  
       3  /* Verify that the incorrect "TYPE_B" etc don't get re-used for
       4     suggestions for the later incorrect values.  */
       5  
       6  void pr83056(void)
       7  {
       8    int b = TYPE_B; /* { dg-error "did you mean 'TYPE_A'" } */
       9    int c = TYPE_C; /* { dg-error "did you mean 'TYPE_A'" } */
      10    int d = TYPE_D; /* { dg-error "did you mean 'TYPE_A'" } */
      11  }