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

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

template<typename _Tp>
class new_allocator
{
  template<typename _Up>
  friend bool
  operator!=(const new_allocator&, const new_allocator<_Up>&)
    noexcept
  { return false; }
};

new_allocator<char> x;