diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2015-09-01 08:39:47 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2015-09-01 08:39:47 +0000 |
commit | 6853b04cdd6269c596bf4dd24b41eee2170caef3 (patch) | |
tree | fe4cdc38ad1d9ae22dbdec61b95b211090f74d89 /gcc/expr.c | |
parent | e071af96da90ec5e2d224cdd9522b428b21f7d2c (diff) | |
download | gcc-6853b04cdd6269c596bf4dd24b41eee2170caef3.zip gcc-6853b04cdd6269c596bf4dd24b41eee2170caef3.tar.gz gcc-6853b04cdd6269c596bf4dd24b41eee2170caef3.tar.bz2 |
re PR c++/61753 (poor diagnostic for constructor definition that starts with 'const')
/cp
2015-09-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/61753
* decl.c (smallest_type_quals_location): New.
(check_special_function_return_type): Use the latter; add int and
const location_t* parameters.
(grokdeclarator): Adjust check_special_function_return_type call.
/testsuite
2015-09-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/61753
* g++.dg/other/pr61753.C: New.
From-SVN: r227361
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions