(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
modules/
extern-tpl-1_a.H
// { dg-module-do link }
// { dg-additional-options -fmodule-header }
// { dg-module-cmi {} }

template <unsigned I> struct TPL
{
  int Source () 
  {
    return I;
  }
};

extern template class TPL<1>;

struct Foo 
{
  TPL<1> m;

  Foo () {m.Source ();};
  
};

static Foo __ioinit;