PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wsign-compare-6.C
blob71b4ebf1613c8b8d56bc46acd9bb109781b0957e
1 // PR c++/23608
2 // { dg-options "-Wsign-compare" }
4 #define FIVE 5
6 int main()
8   int i = 5;
9   int const ic = 5;
11   i < 5u;  // { dg-warning "5:comparison of integer expressions of different signedness" }
12   ic < 5u;     
13   FIVE < 5u;