// PR c++/116364 // { dg-additional-options "-fmodules-ts -Wno-global-module" } // { dg-module-cmi foo:part } module; template struct S {}; template <> struct S { static constexpr bool value = true; }; export module foo:part; export template constexpr bool result = S::value;