// { dg-additional-options -fmodules-ts }
export module inter;
// { dg-module-cmi inter }
import worker;
namespace hidden {
export int fn (int x)
{
  return -x;
}
}
export template <typename T>
int TPL (T &t)
{
  return fn (t);
}
// { dg-additional-options -fmodules-ts }
export module inter;
// { dg-module-cmi inter }
import worker;
namespace hidden {
export int fn (int x)
{
  return -x;
}
}
export template <typename T>
int TPL (T &t)
{
  return fn (t);
}