mirror of
https://github.com/frida/tinycc
synced 2024-12-25 06:26:49 +03:00
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:
parent
ce4aea2478
commit
94846d3eef
@ -39,5 +39,17 @@ int f5 (fptr5 fp, fptr1 i)
|
||||
{
|
||||
return fp(i);
|
||||
}
|
||||
typedef int intx4[4];
|
||||
int f8 (intx4, 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; }
|
||||
|
Loading…
Reference in New Issue
Block a user