(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
modules/
tpl-tpl-friend-1_a.C
// { dg-additional-options -fmodules-ts }

export module foo;
// { dg-module-cmi foo }

template <typename T> class TPL
{
  template <typename U> friend void foo (U);
};

template class TPL<char>;

template <typename V> void foo (V x)
{
}