decl.c
500 KB
-
re PR c++/65775 (Late-specified return type bypasses return type checks… · 17c18221
re PR c++/65775 (Late-specified return type bypasses return type checks (qualified, function, array)) /cp 2017-07-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/65775 * decl.c (grokdeclarator): Move checks on function return type after the splice_late_return_type call; if declspecs->locations[ds_type_spec] is UNKNOWN_LOCATION fall back to input_location. /testsuite 2017-07-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/65775 * g++.dg/cpp0x/trailing14.C: New. From-SVN: r249935
Paolo Carlini committed