blob: 71b4ebf1613c8b8d56bc46acd9bb109781b0957e [file] [log] [blame]
// PR c++/23608
// { dg-options "-Wsign-compare" }
#define FIVE 5
int main()
{
int i = 5;
int const ic = 5;
i < 5u; // { dg-warning "5:comparison of integer expressions of different signedness" }
ic < 5u;
FIVE < 5u;
}