1 // Testcase by Volker Reichelt <reichelt@gcc.gnu.org>
2 
3 // { dg-do compile }
4 // { dg-options "-O -ffast-math" }
5 
6 struct A
7 {
8   ~A();
9 };
10 
11 double& foo();
12 
bar(double d)13 inline void bar (double d) { foo() /= d; }
14 
baz()15 void baz()
16 {
17   A a;
18   bar(2);
19 }
20 
21