summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/nested4.C
blob: 6e5b99b46c2330988bbcc645ef4bc78118165d6f (plain)
1
2
3
4
5
6
7
8
9
10
template <typename T> struct A { 
    template<typename S> struct B { typedef A<S> X; }; 
 
}; 
 
template<typename> void f() { 
    typedef A<int>::B<double>::X X; 
} 
 
template void f<int> ();