2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr32383.C
blobaf4161888ece17ca322f116bd2790ca2a2a57298
1 // Testcase by Volker Reichelt <reichelt@gcc.gnu.org>
3 // { dg-do compile }
4 // { dg-options "-O -ffast-math" }
6 struct A
8   ~A();
9 };
11 double& foo();
13 inline void bar (double d) { foo() /= d; }
15 void baz()
17   A a;
18   bar(2);