PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wmultistatement-macros-1.C
blobafaef9ad42940eb5f8bdf0c446ebc59b78d1dda4
1 // PR bootstrap/81216
2 // { dg-options "-Wmultistatement-macros" }
3 // { dg-do compile }
5 template <typename A, typename B>
6 static bool
7 equal (A a, A b, B c)
9   for (; a != b; ++a, (void)++c)
10     if (!(*a == *c))
11       return false;
12   return true;