https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102226

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktkachov at gcc dot gnu.org
   Last reconfirmed|                            |2021-09-07
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #3 from ktkachov at gcc dot gnu.org ---
Reduced testcase
template <typename a> struct b { using c = a; };
template <typename a, template <typename> class> using f = b<a>;
template <typename a, template <typename> class g>
using h = typename f<a, g>::c;
struct i {
  template <typename j> using k = typename j::l;
};
struct m : i {
  using l = h<char *, k>;
};
class n {
public:
  char operator[](long o) {
    m::l s;
    return s[o];
  }
} p;
n r;
int q() {
  long d;
  for (long e; e; e++)
    if (p[e] == r[e])
      d++;
  return d;
}

Reply via email to