1 // { dg-module-do run } 2 // { dg-additional-options "-fmodules-ts" } 3 4 // indirect references to import, template member non-template or 5 // non-template member of template cases 6 7 export module foo; 8 // { dg-module-cmi foo } 9 10 namespace foo 11 { 12 export class X 13 { 14 public: frob()15 template <int I> int frob () const { return I; } 16 }; 17 18 export template<int I> class TPL 19 { 20 public: frob()21 int frob () const { return I; } 22 }; 23 } 24