This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52844] ICE
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Oct 2012 09:58:06 +0000
- Subject: [Bug c++/52844] ICE
- Auto-submitted: auto-generated
- References: <bug-52844-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52844
--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-15 09:58:06 UTC ---
Of course this is also enough:
template < class > struct V { };
template < int...Is > void f ( V < Is...>) { }
auto g ( ) -> decltype ( f ( V < long > ( ) ) ) ;
and decltype and the late specified return type aren't essential.