[Bug c++/51265] [4.6/4.7 Regression] ICE in finish_decltype_type, at cp/semantics.c:5244

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 22 15:56:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51265

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-11-22 15:48:12 UTC ---
Even:

struct Funny;

template<typename X>
void c();

template<typename X>
void xx()
{
  c<decltype(ff)>();
}

int main()
{
  xx<int(Funny::*)(int)>();
}



More information about the Gcc-bugs mailing list