blob: 0aede3824bdf49d1c28a05118701d5adb5c652bc (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Build don't link:
// GROUPS passed templates
template <class T>
void foo(T t);
template <>
void foo(int) {}; // ERROR - previously defined here.
template <>
void foo<int>(int) {} // ERROR - duplicate specialization.
|