2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / lto / pr87906_1.C
blobee5849fd604a26d9c07c2c11a782eef1f7038dc6
1 namespace com {
2 namespace sun {
3 namespace star {
4 namespace uno {
5 class a {
6 public:
7   ~a();
8 };
9 class b {
10 public:
11 ~b();
12   a c;
14 class RuntimeException : b {};
15 } // namespace uno
16 class C : uno::RuntimeException {};
17 } // namespace star
18 } // namespace sun
19 } // namespace com
20 using com::sun::star::C;
21 using com::sun::star::uno::RuntimeException;
22 void d() { throw RuntimeException(); }
23 void e() { C(); }