re PR c++/65598 (Fix column location for 'explicit')
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 22 May 2015 14:14:38 +0000 (14:14 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 22 May 2015 14:14:38 +0000 (14:14 +0000)
commit320d13eccc9e0df7e3ac2d9d81b8a56715c6c90e
treef5f13937652e0994395c48f4ff5c0482fd89c46f
parenteffb52dae5203e21faf5f2c11bb0078e71f74482
re PR c++/65598 (Fix column location for 'explicit')

/cp
2015-05-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/65598
* decl.c (grokdeclarator): Use the correct location in error
messages about 'explicit'.

/testsuite
2015-05-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/65598
* g++.dg/cpp0x/explicit9.C: New.
* g++.dg/cpp0x/explicit8.C: Check the locations too.

From-SVN: r223576
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/explicit8.C
gcc/testsuite/g++.dg/cpp0x/explicit9.C [new file with mode: 0644]