Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / pragma-diag-7.c
blob402ee56839a261d75da11ab0c3e957a261cf164f
1 /* { dg-do compile } */
3 unsigned long ok = 0UL;
4 #pragma GCC diagnostic push
5 #pragma GCC diagnostic warning "-Wtraditional"
6 unsigned long bad = 1UL; /* { dg-warning "suffix" } */
7 /* Note the extra space before the pragma on this next line: */
8 #pragma GCC diagnostic pop
9 unsigned long ok_again = 2UL; /* { dg-bogus "suffix" } */