blob: efd7f0ecced004774bd6e7f15a7710af1ad9952d [file]
// PR c++/115165
// { dg-additional-options "-fmodule-header" }
// { dg-module-cmi {} }
template <typename> struct A { virtual ~A(); };
struct B : A<char> {};
struct C : B { C() {} };
class D { C c; };
void f(D);
struct X {
friend void f(X);
};