diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-12-04 17:34:27 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-12-04 17:34:27 -0500 |
commit | 2576dd68a60b3f317f89c8c007d0eea63151a793 (patch) | |
tree | 5ef6bba82cfee72342364b752a6ded83c7c7dc30 /gcc/testsuite/c-c++-common | |
parent | 68aefc6988dc34d4b9a2194f9fb08bccfe7a076b (diff) | |
download | gcc-2576dd68a60b3f317f89c8c007d0eea63151a793.zip gcc-2576dd68a60b3f317f89c8c007d0eea63151a793.tar.gz gcc-2576dd68a60b3f317f89c8c007d0eea63151a793.tar.bz2 |
c++: give suggestion on misspelled class name [PR116771]
gcc/cp/ChangeLog:
PR c++/116771
* parser.cc (cp_parser_name_lookup_error): Provide suggestions for
the case of complete failure where there is no scope.
gcc/testsuite/ChangeLog:
PR c++/116771
* g++.dg/spellcheck-pr116771.C: New test.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/testsuite/c-c++-common')
0 files changed, 0 insertions, 0 deletions