PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr68157.C
blob1d723486fb7de06dfdb0295f09863eab8ba28761
1 // PR tree-optimization/68157
2 // { dg-do compile }
3 // { dg-options "-Ofast" }
5 double a, b, c, d;
6 int h, foo ();
8 void
9 bar ()
11   while (foo ())
12     {
13       double e = b * a * a;
14       double f = b * d;
15       if (h)
16         c = e + f;
17     }