Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr11492.c
blob86630995344c17ec5146efe3a07646dca213107d
1 /* PR11492 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wsign-compare" } */
4 int main( void )
6 unsigned int a;
7 unsigned char b;
8 for ( a = 0, b = 2; a > b * 100; a++ ) /* { dg-bogus "comparison between signed and unsigned integer" "" } */
9 { ; }
11 return 0;