PR c++/52043
commita5f9ef73bf523c0692563cc604fce8a9cd0575a5
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jan 2012 17:41:24 +0000 (31 17:41 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jan 2012 17:41:24 +0000 (31 17:41 +0000)
tree9d4e6bb2fb6ca1073a2a491825302c6b14eca5d9
parent43811b9a262363e3ed04ec6e9ec05c232caf9ec2
PR c++/52043
* cp-tree.h (PACK_EXPANSION_LOCAL_P): New.
* pt.c (make_pack_expansion, tsubst_initializer_list): Set it.
(tsubst_pack_expansion): Check it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183768 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic122.C [new file with mode: 0644]