History

Some types testcases

during some rework I tripped over some more obscure but valid declarators. Let's not loose them.

Michael Matz committed 7 years ago

Commit 94846d31 parent ce4aea21 file · +12 −0Browse files

Unified · Split

tests/tests2/81_types.c+12−0
@@ -39,5 +39,17 @@ int f5 (fptr5 fp, fptr1 i) · 38 unmodified lines
39{39{
40 return fp(i);40 return fp(i);
41}41}
42typedef int intx4[4];
43int f8 (intx4, int);
42int f8 (int ([4]), int);44int f8 (int ([4]), int);
45int f8 (int y[4], int i)
46{
47 return y[i];
48}
49int f9 (int (*)(int), int);
50int f9 (int ((int)), int);
51int f9 (int f(int), int i)
52{
53 return f(i);
54}
43int main () { return 0; }55int main () { return 0; }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t