1 // PR c++/16162
2 
3 template <int N> struct O {
4   struct I {
5     template <typename T> struct II {
6       void f();
7     };
8   };
9 };
10 
11 template <int N>
12 template <typename T>
f()13 void O<N>::I::II<T>::f () {}
14