C++: simplify output from suggest_alternatives_for
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / pr80913.C
blob028e61a3f12cc335f9c079fb25567f56aaafea59
1 // PR 80913 infinite look on spelling corrector caused by incorrectly
2 // chained decl
4 extern int meminfo ();
5 struct meminfo {};
7 void frob ()
9   meminf (); // { dg-error "'meminf' was not declared in this scope; did you mean 'meminfo'\\?" }