Added testcase for #1889.

This commit is contained in:
acqn
2022-11-10 02:11:54 +08:00
parent aa5d44b2b0
commit 9253f0d6bc
3 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
/* bug 1889 - endless errors due to failure in recovery from missing identifier */
int enum { a } x;
inline enum { b };
int main(void)
{
return 0;
}