Debian Codegraph @

gcc/testsuite/g++.dg/lto/pr69133_0.C

raw
1 // { dg-lto-do link }
2 // { dg-require-effective-target lto_incremental }
3 // { dg-lto-options { { -flto -O2 } } }
4 // { dg-extra-ld-options "-r -nostdlib -flto -flto-partition=none -O2" }
5 namespace xercesc_3_1 {
6 class XMLEntityHandler {
7 public:
8 virtual ~XMLEntityHandler();
9 virtual void m_fn1();
10 virtual bool m_fn2();
11 virtual void m_fn3();
12 virtual int m_fn4();
13 virtual void m_fn5();
14 } * a;
15 void fn1() {
16 a->m_fn5();
17 a->m_fn1();
18 }
19 }
20