Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / template / spec2.C
blobde0fe4c151122bcc0f4a0fc690083869bd91759b
1 // { dg-do compile }
3 // Origin: <schmid@snake.iap.physik.tu-darmstadt.de>
5 // Bug: Overloading of ordinary and template member function
6 // which enclosing class is specialized is not handled correctly.
8 template <class T>
9 struct A
11     void f(T) {}
14 template<>
15 struct A<int>
17     void f(int) {}
18     template <class T> void f(T) {}
21 template
22 void A<int>::f(int);