summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/decl2.C
blob: 3a77777bd0aa19db4780599d71821dd39abb7548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/16162

template <int N> struct O { 
  struct I { 
    template <typename T> struct II { 
      void f(); 
    }; 
  }; 
}; 
 
template <int N> 
template <typename T> 
void O<N>::I::II<T>::f () {}