Mercurial > hg > CbC > CbC_gcc
annotate 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 |
rev | line source |
---|---|
111 | 1 // { dg-lto-do link } |
2 // { dg-lto-options { { -flto -O2 } } } | |
3 // { dg-extra-ld-options "-r -nostdlib -flto -flto-partition=none -O2" } | |
4 namespace xercesc_3_1 { | |
5 class XMLEntityHandler { | |
6 public: | |
7 virtual ~XMLEntityHandler(); | |
8 virtual void m_fn1(); | |
9 virtual bool m_fn2(); | |
10 virtual void m_fn3(); | |
11 virtual int m_fn4(); | |
12 virtual void m_fn5(); | |
13 } * a; | |
14 void fn1() { | |
15 a->m_fn5(); | |
16 a->m_fn1(); | |
17 } | |
18 } | |
19 |