// Origin: PR c++/43327 // { dg-do compile } template struct A { template struct B; template struct B<_N, _T::m> { static void f(); }; }; struct C { static const int m = 4; }; void m() { A::B<1, 4>::f(); }