// { dg-additional-options -fmodules-ts } export module foo; // { dg-module-cmi foo } template class outer { public: template struct inner { typedef outer other; }; using type = T; }; template class outer;