blob: 305407bf5e2147d0578afcf4c3fd72e35d706470 [file] [log] [blame]
// PR c++/83287 failed to keep lookup until instantiation time
void foo ();
namespace {
void foo (int);
}
template <class T>
void bar ()
{
T (*p)() = (T (*)(void)) foo;
}
void
baz ()
{
bar<void> ();
}