(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
local-fn3.C
// PR c++/97171

// { dg-require-effective-target lto }
// { dg-additional-options -flto }

template <typename _UnaryOperation>
void transform(_UnaryOperation);

template <typename T>
void Apply ()
{
  extern T Maker (void);  // block-scope extern with dependent type

  transform (Maker);
}

template void Apply<int> ();