diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2019-09-16 23:04:10 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2019-09-16 23:04:10 +0000 |
commit | 61b204bf24adfe62d58400e60732bc569bc2164a (patch) | |
tree | ea1077703877a85ebba600225a35d7f3769dfcd4 /gcc/testsuite/g++.old-deja | |
parent | b3a77aa6ffa0186a966ad53360aa1485c783800a (diff) |
decl.c (grokdeclarator): Use declspecs->locations and declarator->id_loc in a few error messages.
/cp
2019-09-16 Paolo Carlini <paolo.carlini@oracle.com>
* decl.c (grokdeclarator): Use declspecs->locations and
declarator->id_loc in a few error messages.
* pt.c (finish_member_template_decl): Use DECL_SOURCE_LOCATION.
(push_template_decl_real): Likewise.
/testsuite
2019-09-16 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/ext/int128-6.C: New.
* c-c++-common/pr68107.c: Test location(s).
* g++.dg/other/large-size-array.C: Likewise.
* g++.dg/template/dtor2.C: Likewise.
* g++.dg/template/error9.C: Likewise.
* g++.dg/tls/diag-2.C: Likewise.
* g++.dg/tls/diag-4.C: Likewise.
* g++.dg/tls/diag-5.C: Likewise.
* g++.old-deja/g++.pt/memtemp71.C: Likewise.
From-SVN: r275759
Diffstat (limited to 'gcc/testsuite/g++.old-deja')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/memtemp71.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp71.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp71.C index 74149a005c3..91cfac0032c 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp71.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/memtemp71.C @@ -2,5 +2,5 @@ class A { - template<class T>T epsilon; // { dg-error "" } invalid member template + template<class T>T epsilon; // { dg-error "22:data member .epsilon. cannot be a member template" } }; |