// Bug: g++ doesn't instantiate function templates in instantiate_type. // Build don't link: template void fn (T t) { } template struct A { void (*p)(T); A() { p = fn; } }; A a;