diff options
Diffstat (limited to 'cparser/tests/handwritten/dubious-enum.c')
-rw-r--r-- | cparser/tests/handwritten/dubious-enum.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cparser/tests/handwritten/dubious-enum.c b/cparser/tests/handwritten/dubious-enum.c new file mode 100644 index 00000000..12ee6683 --- /dev/null +++ b/cparser/tests/handwritten/dubious-enum.c @@ -0,0 +1,7 @@ +int f (void) +{ + int x = sizeof(enum e; + /* Maybe a closing parenthesis is missing, + maybe also "enum e" could be continued with an opening brace. + Our message ignores the latter possibility. */ +} |