Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / net.C
blob1f5987d47445c1d8626edc5b093d77a7f31deca3
1 // { dg-do assemble  }
2 // Bug: g++ doesn't instantiate function templates in instantiate_type.
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;