Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
c-c++-common
/
Wconversion-pr40752b.c
blob: 208710bc772711e817dd513287ac0a5b44147d91 [
file
] [
log
] [
blame
]
// PR c++/40752
// { dg-additional-options -funsigned-char }
#pragma
GCC diagnostic error
"-Wsign-conversion"
void
f
(
char
*
ar
,
int
i
)
{
ar
[
i
]
-=
'a'
-
'A'
;
}