aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/typedef21.C
blob: 3185331be9f5c173a9632ab0b7a8312a3af64b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/37037

typedef void F(void);
template <typename T> struct S 
{
    static F f;
};
template class S<int>;
template <class T> void S<T>::f(void)
{}