diff options
author | Paolo Carlini <pcarlini@suse.de> | 2007-08-31 11:38:45 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2007-08-31 11:38:45 +0000 |
commit | c8c00613059c0c5de5517474b7bb390bf21c4201 (patch) | |
tree | 724045b3e965a5a1835e53dcf4eab274cfd99dc2 /gcc/testsuite | |
parent | 8a26ebb635739d370e7726ec8af5d119bb86efdf (diff) | |
download | gcc-c8c00613059c0c5de5517474b7bb390bf21c4201.zip gcc-c8c00613059c0c5de5517474b7bb390bf21c4201.tar.gz gcc-c8c00613059c0c5de5517474b7bb390bf21c4201.tar.bz2 |
re PR c++/33210 (Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl)
/cp
2007-08-31 Paolo Carlini <pcarlini@suse.de>
PR c++/33210
* cxx-pretty-print.c (pp_cxx_unqualified_id): Deal with
BOUND_TEMPLATE_TEMPLATE_PARM.
/testsuite
2007-08-31 Paolo Carlini <pcarlini@suse.de>
PR c++/33210
* g++.dg/template/error30.C: New.
From-SVN: r127987
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/template/error30.C | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 134ea79..82d3f3a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2007-08-31 Paolo Carlini <pcarlini@suse.de> + PR c++/33210 + * g++.dg/template/error30.C: New. + +2007-08-31 Paolo Carlini <pcarlini@suse.de> + PR c++/32113 * g++.dg/template/crash70.C: New. diff --git a/gcc/testsuite/g++.dg/template/error30.C b/gcc/testsuite/g++.dg/template/error30.C new file mode 100644 index 0000000..e1138d0 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/error30.C @@ -0,0 +1,5 @@ +// PR c++/33210 + +template<int> struct A; + +template<template<typename> class B> A<B<int>::x> operator() (); // { dg-error "A<B<int>::x>" } |