re PR c++/59435 (sizeof...(T) as default value for an argument in the constructor...
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 9 Dec 2013 22:59:33 +0000 (22:59 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 9 Dec 2013 22:59:33 +0000 (22:59 +0000)
commitf0c6059cdcd8686feb7a3f1cabf6f2f690573a05
treecedc8a66192eeca3f9721271482ef9b516380438
parentca0a2d5d0dffed4a7e9f5a5b039876e773ea8624
re PR c++/59435 (sizeof...(T) as default value for an argument in the constructor does not work)

/cp
2013-12-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/59435
* parser.c (cp_parser_cache_defarg): sizeof ... ( p ) can
occur in a default argument too.

/testsuite
2013-12-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/59435
* g++.dg/cpp0x/variadic-sizeof3.C: New.

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