Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.old-deja/g++.other/cleanup4.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// { dg-do assemble } // { dg-options "-O2 -fno-exceptions" } // Origin: Jakub Jelinek <jakub@redhat.com> class foo { public: foo (); ~foo (); }; class bar { public: bar (); bar (const foo&); }; int i; foo f (); inline bar x () { switch (i) { case 0: return bar (f ()); default: return bar (); } } bar y () { return x (); }