Debian Codegraph @

gcc/testsuite/g++.dg/lookup/pr80913.C

raw
1 // PR 80913 infinite look on spelling corrector caused by incorrectly
2 // chained decl
3
4 extern int meminfo ();
5 struct meminfo {};
6
7 void frob ()
8 {
9 meminf (); // { dg-error "'meminf' was not declared in this scope; did you mean 'meminfo'\\?" }
10 }