diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2014-08-14 17:00:45 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2014-08-14 17:00:45 +0000 |
commit | a62dbaa42ff655c35be270f91fb5f6323ff53b35 (patch) | |
tree | b38005767061ab9c8f7e9396cc851672bf018a4c /gcc/testsuite/g++.old-deja/g++.pt | |
parent | 4875c29c86812d73c88b9bb16d5c2d5bc7259d4d (diff) | |
download | gcc-a62dbaa42ff655c35be270f91fb5f6323ff53b35.zip gcc-a62dbaa42ff655c35be270f91fb5f6323ff53b35.tar.gz gcc-a62dbaa42ff655c35be270f91fb5f6323ff53b35.tar.bz2 |
re PR c++/54377 (Consider default arguments in "wrong number of template arguments" diagnostic)
/cp
2014-08-14 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54377
* pt.c (coerce_template_parms): Improve error message vs default
arguments.
/testsuite
2014-08-14 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54377
* g++.dg/template/pr54377.C: New.
* g++.dg/cpp0x/pr54377.C: Likewise.
* g++.dg/cpp0x/alias-decl-2.C: Adjust.
* g++.dg/cpp0x/pr51226.C: Likewise.
* g++.dg/cpp0x/variadic2.C: Likewise.
* g++.dg/parse/too-many-tmpl-args1.C: Likewise.
* g++.dg/template/dtor3.C: Likewise.
* g++.dg/template/qualttp4.C: Likewise.
* g++.dg/template/spec28.C: Likewise.
* g++.old-deja/g++.brendan/crash8.C: Likewise.
* g++.old-deja/g++.pt/ttp7.C: Likewise.
From-SVN: r213973
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/ttp7.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp7.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp7.C index 729452b..0a115c2 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/ttp7.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/ttp7.C @@ -4,7 +4,7 @@ template<class E> class D { }; -template<template<class> class D,class E> class C // { dg-error "" } ref below +template<template<class> class D,class E> class C // { dg-message "" } ref below { D<int,int> d; // { dg-error "" } arg not match }; |