PR c++/7176
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp64.C
blob6185d3d60583b11bf6dcf0f1ae1518fa758820b4
1 // Build don't link:
3 template <class T>
4 struct S1 {};
6 template <class T>
7 void f(T);
9 template <class C>
10 struct S2
12   template <class T>
13   void f<S1<T> >(T) {}  // ERROR - bad specialization.
17 template <class T>
18 struct S3
20   friend class S2<T>;