// PR c++/115159 // { dg-additional-options -fmodule-header } // { dg-module-cmi {} } struct QDebug; template void f(T); template struct QList { QDebug g(QList &other) noexcept(noexcept(f(other))); QDebug h(QList &other) noexcept(noexcept(f(other))); }; struct QObjectData { QList children; }; struct QIODevice { QObjectData d_ptr; }; struct QDebug { QDebug(QIODevice); };