[Bug c++/78690] [7 Regression] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:552

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 26 21:40:00 GMT 2017


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Another testcase for this:
struct C;

template <typename T>
struct A
{
  struct C { static void bar (); };
};

template <typename T>
struct B
{
  using A<T>::C;
  void
  foo () { C.bar (); }
};


More information about the Gcc-bugs mailing list