re PR c++/33510 (Array size of array with size determined by the initializer wrong...
authorDouglas Gregor <doug.gregor@gmail.com>
Sat, 10 Nov 2007 02:53:31 +0000 (02:53 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Sat, 10 Nov 2007 02:53:31 +0000 (02:53 +0000)
commit49b5e2f6b50347329eaddd44becfec13633f940e
tree12a659becde0adb05ab03361808179ad887b8a19
parenta4d60af8e910e9117536785dc1a9d665b30a665b
re PR c++/33510 (Array size of array with size determined by the initializer wrong with packs)

2007-11-09  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/33510
* decl.c (cp_complete_array_type): If any of the initializer
elements are pack expansions, don't compute the array size yet.

2007-11-09  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/33510
* g++.dg/cpp0x/variadic-init.C: New.

From-SVN: r130065
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic-init.C [new file with mode: 0644]