// { dg-do compile { target c++11 } } inline namespace N __attribute__((__abi_tag__ ("foo"))) {} template struct A {}; namespace N { template class B {}; } template class __attribute__((__unused__)) C {}; template struct D { template using G = C<_Up>; }; template struct F { template struct H { typedef typename D::template G I; }; }; template > struct J { C>> L; typedef F>::H>>::I M; J *a; };