re PR c++/33213 (Broken diagnostic: 'type_pack_expansion' not supported by dump_decl)
cp/ 2007-09-28 Paolo Carlini <pcarlini@suse.de> PR c++/33213 * error.c (dump_decl): Deal with TYPE_PACK_EXPANSION. testsuite/ 2007-09-28 Paolo Carlini <pcarlini@suse.de> PR c++/33213 * g++.dg/cpp0x/variadic79.C: New. From-SVN: r128870
This commit is contained in:
parent
18080e8e7a
commit
930a1e6372
@ -1,3 +1,8 @@
|
||||
2007-09-28 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR c++/33213
|
||||
* error.c (dump_decl): Deal with TYPE_PACK_EXPANSION.
|
||||
|
||||
2007-09-28 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR c++/33118
|
||||
|
@ -955,6 +955,7 @@ dump_decl (tree t, int flags)
|
||||
break;
|
||||
|
||||
case UNBOUND_CLASS_TEMPLATE:
|
||||
case TYPE_PACK_EXPANSION:
|
||||
dump_type (t, flags);
|
||||
break;
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2007-09-28 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR c++/33213
|
||||
* g++.dg/cpp0x/variadic79.C: New.
|
||||
|
||||
2007-09-28 Michael Matz <matz@suse.de>
|
||||
Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
|
7
gcc/testsuite/g++.dg/cpp0x/variadic79.C
Normal file
7
gcc/testsuite/g++.dg/cpp0x/variadic79.C
Normal file
@ -0,0 +1,7 @@
|
||||
// PR c++/33213
|
||||
// { dg-do compile }
|
||||
// { dg-options "-std=gnu++0x" }
|
||||
|
||||
template<template<typename> class...> struct A;
|
||||
|
||||
template<template<typename...> class... B> struct A<B...> {}; // { dg-error "mismatch|'template<class ...> class B ...'" }
|
Loading…
Reference in New Issue
Block a user