FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit34.C
blob0aede3824bdf49d1c28a05118701d5adb5c652bc
1 // Build don't link:
2 // GROUPS passed templates
3 template <class T>
4 void foo(T t);
6 template <>
7 void foo(int) {}; // ERROR - previously defined here.
9 template <>
10 void foo<int>(int) {} // ERROR - duplicate specialization.