~mcf/cproc

ref: 16c718729adfaf40cf22aa4efeafb0d92ef5ee3c cproc/test/compatible-function-types.c -rw-r--r-- 293 bytes
16c71872Michael Forney Prepare for supporting architecture-specific va_list type 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
void f1();
void f1(int, void *);

int f2();
int f2(double);

void f3() {}
void f3(void);

void f4(int, char *);
void f4(int, char *);

void f5(x, y) unsigned x; double y; {}
void f5(unsigned, double);

void f6(const char *, ...);
void f6(const char[], ...);

void f7(const int);
void f7(int);