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
3939 {
4040 return fp(i);
4141 }
42+typedef int intx4[4];
43+int f8 (intx4, int);
4244 int f8 (int ([4]), int);
45+int f8 (int y[4], int i)
46+{
47+ return y[i];
48+}
49+int f9 (int (*)(int), int);
50+int f9 (int ((int)), int);
51+int f9 (int f(int), int i)
52+{
53+ return f(i);
54+}
4355 int 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