scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1/*
 2PATTERN:
 30031-krtypes.c:32: error: incompatible types when assigning
 40031-krtypes.c:33: error: incompatible types when assigning
 50031-krtypes.c:34: error: incompatible types when assigning
 6.
 7*/
 8
 9int
10f1(char c)
11{
12	return c;
13}
14
15int
16f2(float c)
17{
18	return c;
19}
20
21int
22f3(int a, ...)
23{
24	return a;
25}
26
27int
28main()
29{
30	int (*fp)();
31
32	fp = f1;
33	fp = f2;
34	fp = f3;
35
36	return 0;
37}