scc

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

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

 1int a, b, c;
 2
 3#include <stdio.h>
 4
 5int
 6main()
 7{
 8	int d;
 9
10	d = a = 1, b = 2, c = 3;
11	if (d != 1)
12		return 1;
13	d = c, a || b;
14	if (d != 3)
15		return 2;
16	d = (c, a || b);
17	if (d != 1)
18		return 3;
19	d = a && (a = b + 2, a = 0);
20	if (d != 0)
21		return 4;
22
23	return 0;
24}