aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/typedef2.C
blob: 89fabaf54989d594f5014189818a8f7a14548a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// { dg-do assemble  }

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;
}