PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / ifcvt1.C
blob8fcbf4619078b1a8d685047d2393bbf844238c4d
1 // { dg-do compile }
2 // { dg-options "-O2 -fnon-call-exceptions" }
4 struct S { ~S () throw () {} };
5 double bar ();
7 int
8 foo ()
10   S a;
11   int i = 0;
12   double c = bar ();
13   c = c < 0 ? -c : c;
14   if (c <= 1.e-8)
15     i += 24;
16   return i;