scc

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

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

 1struct a {
 2	int i;
 3	char s[10];
 4};
 5
 6int
 7main(void)
 8{
 9	char *s;
10	struct a b = {0, "hola"};
11
12	s = b.s;
13	if (s[0] != 'h')
14		return 1;
15	if (s[1] != 'o')
16		return 2;
17	if (s[2] != 'l')
18		return 3;
19	if (s[3] != 'a')
20		return 4;
21	if (s[4] != '\0')
22		return 5;
23	if (s[5] != '\0')
24		return 6;
25	if (s[6] != '\0')
26		return 7;
27	if (s[7] != '\0')
28		return 8;
29	if (s[8] != '\0')
30		return 9;
31	if (s[9] != '\0')
32		return 10;
33	return 0;
34}