https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77629
Markus Trippelsdorf changed:
What|Removed |Added
Status|RESOLVED|NEW
Last reconfirmed||2016-09-18
CC||jason at gcc dot gnu.org
Resolution|DUPLICATE |---
Ever confirmed|0 |1
--- Comment #2 from Markus Trippelsdorf ---
Started with r238696:
commit 44d0a5f893a449013cf4d64127dcac7b51c0a8e8
Author: jason
Date: Sun Jul 24 23:40:05 2016 +
PR c++/71515 - typename in partial specialization
* pt.c (resolve_typename_type): Try to avoid calling
currently_open_class.
Testcase:
template struct A;
template using enable_if_t = typename A<_Cond>::type;
template struct B;
template struct C;
template struct D;
template
struct B> {
using Base = D;
// typedef D Base; // OK
using typename Base::Scalar;
Scalar a;
};
See: PR69481 for a similar issue.