2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr60849.C
blob52d8826b0c880b2d2bc2e7f92b24ebd23e59c92b
1 // { dg-do compile }
2 // { dg-options "-O2" }
4 int g;
6 extern "C" int isnan ();
8 void foo(float a) {
9   int (*xx)(...);
10   xx = isnan;
11   if (xx(a))
12     g++;