decl.c (start_decl): Improve two error_at locations.
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 7 Jan 2019 22:28:30 +0000 (22:28 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 7 Jan 2019 22:28:30 +0000 (22:28 +0000)
commit2c86a5741f00f3a85ccd685f250070013c67fc90
treeb42c429e5b3f75358238d7a4938ff19cd6b33c2e
parent33a5d8ccb5482e446410ffbba30f0b560fc1c8fc
decl.c (start_decl): Improve two error_at locations.

/cp
2019-01-07  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (start_decl): Improve two error_at locations.
(expand_static_init): Likewise.

/testsuite
2019-01-07  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/diagnostic/constexpr1.C: New.
* g++.dg/diagnostic/thread1.C: Likewise.

From-SVN: r267662
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/diagnostic/constexpr1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/diagnostic/thread1.C [new file with mode: 0644]