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';
}