aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.jason/template23.C
blob: f2d9973772303955ea91e8dd451dc43356c17c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// Testcase for instantiation with cv-qualified type

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

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

template class A<const int>;