Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/lto/pr69133_0.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line source
// { dg-lto-do link } // { dg-lto-options { { -flto -O2 } } } // { dg-extra-ld-options "-r -nostdlib -flto -flto-partition=none -O2" } namespace xercesc_3_1 { class XMLEntityHandler { public: virtual ~XMLEntityHandler(); virtual void m_fn1(); virtual bool m_fn2(); virtual void m_fn3(); virtual int m_fn4(); virtual void m_fn5(); } * a; void fn1() { a->m_fn5(); a->m_fn1(); } }