// PR c++/33342 template struct enable_if_c { typedef T type; }; template struct A { template struct B; template struct B::type> { }; }; struct C { struct sub { static const int value = 0; }; }; A a; A::B b;