// PR c++/14032 template struct outer { template struct inner { static int f() { return inner::N; }; }; template struct inner { static const int N = 1; }; }; int i = outer::inner::f();