krasimir added a comment. I've figured out a test case for this:
template <template <typename> class A> class B { typedef A<int> A_int; }; The real-world problem comes from ptr_traits.h <https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/bits/ptr_traits.h#L64>. https://reviews.llvm.org/D35212 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits