OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9d79f45b92daef6dd1840f6607db533c0dbbb602
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr11492.c
1
/* PR11492 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wsign-compare" } */
4
int main( void )
5
{
6
unsigned int a;
7
unsigned char b;
8
for ( a = 0, b = 2; a > b * 1000; a++ ) /* { dg-bogus "comparison between signed and unsigned integer" } */
9
{ ; }
10
11
return 0;
12
}