Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/lto/pr69133_0.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// { dg-lto-do link } // { dg-require-effective-target lto_incremental } // { 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(); } }