blob: 18802fcd7bcec29a9b1c4596951ed689f741e0ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Build don't link:
typedef const int cint;
template<class T>
class A
{
public:
T f(cint i);
};
template <class T>
T A<T>::f(cint i)
{
}
int main()
{
A<int> a;
}
|