blob: 1f5987d47445c1d8626edc5b093d77a7f31deca3 [file] [log] [blame]
// { dg-do assemble }
// Bug: g++ doesn't instantiate function templates in instantiate_type.
template <class T> void fn (T t) { }
template <class T> struct A {
void (*p)(T);
A() { p = fn; }
};
A<int> a;