1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// { dg-do assemble } // { dg-options "-O2" } // Origin: Jakub Jelinek <jakub@redhat.com> class a { public: double b; int c; ~a() { } }; int bar(a x); a foo(double x); int baz(double x, int y) { return bar(foo(x)); }