added test related to issue #1143
This commit is contained in:
11
test/err/bug1143err.c
Normal file
11
test/err/bug1143err.c
Normal 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
9
test/val/bug1143warn.c
Normal 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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user