aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/template23.C
blob: 1d257a2e7df24a04b49f2e2b0f3483a515393ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Testcase for instantiation with cv-qualified type
// Build don't link:

template<class T>
struct A
{
    void foo();
};

template<class T> void A<T>::foo() { }

template class A<const int>;