// PR c++/114917 // { dg-additional-options "-fmodules-ts" } // { dg-module-cmi M } export module M; export namespace ns { template struct S {}; template struct S { using a = int; }; template <> struct S { using b = int; }; template struct S; }; export extern "C++" namespace ns { template void foo() {} template <> void foo() {} }