[Bug c++/79493] Bad diagnostic when referring to inner type that does not exist
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 23 17:48:19 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79493
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Marek Polacek <mpolacek@gcc.gnu.org>:
https://gcc.gnu.org/g:cdcea7c1ef6586bb1eb0144b741969748cbd780b
commit r12-7363-gcdcea7c1ef6586bb1eb0144b741969748cbd780b
Author: Marek Polacek <polacek@redhat.com>
Date: Wed Feb 23 12:46:21 2022 -0500
c++: Add new test [PR79493]
A nice side effect of r12-1822 was improving the diagnostic
we emit for the following test.
PR c++/79493
gcc/testsuite/ChangeLog:
* g++.dg/diagnostic/undeclared1.C: New test.
More information about the Gcc-bugs
mailing list