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