Some types testcases

during some rework I tripped over some more obscure but valid declarators.
Let's not loose them.
This commit is contained in:
Michael Matz 2019-04-09 04:39:38 +02:00
parent ce4aea2478
commit 94846d3eef

View File

@ -39,5 +39,17 @@ int f5 (fptr5 fp, fptr1 i)
{ {
return fp(i); return fp(i);
} }
typedef int intx4[4];
int f8 (intx4, int);
int f8 (int ([4]), int); int f8 (int ([4]), int);
int f8 (int y[4], int i)
{
return y[i];
}
int f9 (int (*)(int), int);
int f9 (int ((int)), int);
int f9 (int f(int), int i)
{
return f(i);
}
int main () { return 0; } int main () { return 0; }