Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/spellcheck-pr83056.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
line wrap: on
line source
enum { TYPE_A }; /* Verify that the incorrect "TYPE_B" etc don't get re-used for suggestions for the later incorrect values. */ void pr83056(void) { int b = TYPE_B; /* { dg-error "did you mean 'TYPE_A'" } */ int c = TYPE_C; /* { dg-error "did you mean 'TYPE_A'" } */ int d = TYPE_D; /* { dg-error "did you mean 'TYPE_A'" } */ }