rs6000, add comment to VEC_IC definition
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wenum-compare-no.C
blob7dc27d3fe72d69147ccd29bb06d6c23293a84c7f
1 /* Test disabling -Wenum-compare (on by default).  See PR27975.  */
2 /* { dg-do compile } */
3 /* { dg-options "-Wno-enum-compare" } */
4 enum E1 { a };
5 enum E2 { b };
7 int foo (E1 e1, E2 e2)
9   return e1 == e2;  /* { dg-bogus "comparison between" } */