This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51148] [C++0x] Unexpanded template param packs wrongly accepted in friend class declarations
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Apr 2012 14:15:45 +0000
- Subject: [Bug c++/51148] [C++0x] Unexpanded template param packs wrongly accepted in friend class declarations
- Auto-submitted: auto-generated
- References: <bug-51148-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51148
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-16 14:15:45 UTC ---
Author: jason
Date: Mon Apr 16 14:15:36 2012
New Revision: 186495
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186495
Log:
PR c++/51148
* friend.c (make_friend_class): Call check_for_bare_parameter_packs.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/variadic127.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/friend.c
trunk/gcc/testsuite/ChangeLog