added test related to issue #1143
This commit is contained in:
parent
f206833a20
commit
cf41fccc0a
2 changed files with 20 additions and 0 deletions
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;
|
||||
}
|
Loading…
Add table
Reference in a new issue