Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/lto/pr87906_1.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
rev | line source |
---|---|
145 | 1 namespace com { |
2 namespace moon { | |
3 namespace star { | |
4 namespace uno { | |
5 class a { | |
6 public: | |
7 ~a(); | |
8 }; | |
9 class b { | |
10 public: | |
11 ~b(); | |
12 a c; | |
13 }; | |
14 class RuntimeException : b {}; | |
15 } // namespace uno | |
16 class C : uno::RuntimeException {}; | |
17 } // namespace star | |
18 } // namespace moon | |
19 } // namespace com | |
20 using com::moon::star::C; | |
21 using com::moon::star::uno::RuntimeException; | |
22 void d() { throw RuntimeException(); } | |
23 void e() { C(); } |