blob: fad9ecf15489c9240db6c760914ab5b3f14c7871 [file] [log] [blame]
// { dg-module-do run }
// { dg-additional-options "-fmodules-ts" }
// indirect references to import, template member non-template or
// non-template member of template cases
export module foo;
// { dg-module-cmi foo }
namespace foo
{
export class X
{
public:
template <int I> int frob () const { return I; }
};
export template<int I> class TPL
{
public:
int frob () const { return I; }
};
}