FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / net.C
blobbe8b962ad80576e8ed25b6ab9e7f83401b9b4caa
1 // Bug: g++ doesn't instantiate function templates in instantiate_type.
2 // Build don't link:
4 template <class T> void fn (T t) { }
5 template <class T> struct A {
6   void (*p)(T);
7   A() { p = fn; }
8 };
10 A<int> a;