Update ChangeLog and version files for release
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wsign-compare-6.C
blob1f8af664c7b68266bb086b626707cf28a33eb8fb
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 between signed and unsigned" }
12   ic < 5u;     
13   FIVE < 5u;