blob: 2affe235bd381070577976f6f93be3a0785c02ef [file] [log] [blame]
// 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> ();