repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr11492.c
blob
86435a83e79bbe56c29d2cb303f72a236dfb029f
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
*
100
;
a
++ )
/* { dg-bogus "comparison of integer expressions of different signedness" } */
9
{ ; }
10
11
return
0
;
12
}