scc

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

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

 1#define SIZ 6
 2
 3int test(char *);
 4
 5int
 6test(char *s)
 7{
 8	if (s[0] != 'a')
 9		return 1;
10	if (s[1] != 'b')
11		return 2;
12	if (s[2] != 'c')
13		return 3;
14	if (s[3] != '\0')
15		return 4;
16	return 0;
17}
18
19int
20main(void)
21{
22	return test((char[SIZ]) {"abc"});
23}