blob: bfe70fba327b6d3a3197ec5d188ca35c216aac0f [file] [log] [blame]
// { dg-lto-do link }
// { dg-require-effective-target fpic }
// { dg-require-effective-target shared }
// { dg-lto-options { { -O2 -fPIC -flto -g -shared } } }
class a typedef b;
class a {};
class c {
struct C {
b d;
};
C e() const;
};
c::C c::e() const {
C g;
struct h {
C g;
h(C *) {}
} f(&g);
return g;
}