added test related to issue #1143

This commit is contained in:
mrdudz 2020-08-18 00:40:29 +02:00
parent f206833a20
commit cf41fccc0a
2 changed files with 20 additions and 0 deletions

11
test/err/bug1143err.c Normal file
View File

@ -0,0 +1,11 @@
/* bug #1143 - Multiple storage class specifiers in one declaration? */
static static void* y[1]; /* warning */
extern static int a; /* error */
extern typedef int A; /* error */
int main(void)
{
return 0;
}

9
test/val/bug1143warn.c Normal file
View File

@ -0,0 +1,9 @@
/* bug #1143 - Multiple storage class specifiers in one declaration? */
static static void* y[1]; /* warning */
int main(void)
{
return 0;
}