added testcase for issue #1098

This commit is contained in:
mrdudz
2020-07-22 14:57:40 +02:00
parent eb094ecf6a
commit e22e9c403c
4 changed files with 57 additions and 0 deletions

13
test/misc/bug1098b.c Normal file
View File

@@ -0,0 +1,13 @@
/* bug #1098 Empty enumerator-list */
/* The C Standard requires that something exists between the braces for
* enum, struct, and union. */
union {
};
int main(void)
{
return 0;
}