// { dg-lto-do link } | |
// { dg-require-effective-target fpic } | |
// { dg-require-effective-target shared } | |
// { dg-lto-options { { -flto -g -nostdlib -shared -fPIC } } } | |
namespace Inkscape { | |
class a; | |
} | |
class b { | |
Inkscape::a *c; | |
virtual void d(); | |
}; | |
class e { | |
b f; | |
}; | |
class g : e { | |
void h(); | |
}; | |
void g::h() {} |