Message ID | 4F10032C.3040101@gjlay.de |
---|---|
State | New |
Headers | show |
On Jan 13, 2012, at 2:10 AM, Georg-Johann Lay wrote: > Similar to fix for gcc.dg/cpp/warn-multichar-2.c: It's sifficient to have a > 2-letter constant. > > Ok to apply? Ok.
Index: gcc.dg/cpp/warn-multichar.c =================================================================== --- gcc.dg/cpp/warn-multichar.c (revision 183150) +++ gcc.dg/cpp/warn-multichar.c (working copy) @@ -1,5 +1,5 @@ // { dg-do preprocess } // { dg-options "-std=gnu99 -fdiagnostics-show-option -Wmultichar" } -#if 'abc' // { dg-warning "multi-character character constant .-Wmultichar." } +#if 'ab' // { dg-warning "multi-character character constant .-Wmultichar." } #endif