repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wsign-compare-8.C
blob
4d2688157fcf4a2d079ac1dfc78bb0279cda1197
1
// PR c++/84171
2
// { dg-options "-Wsign-compare" }
3
4
bool foo (char c)
5
{
6
const int i = 0 = 0; // { dg-error "lvalue" }
7
return c = i;
8
}