This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78690] [7 Regression] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:552
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 Jan 2017 21:40:01 +0000
- Subject: [Bug c++/78690] [7 Regression] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:552
- Auto-submitted: auto-generated
- References: <bug-78690-4@http.gcc.gnu.org/bugzilla/>
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 (); }
};