shithub: scc

ref: b44a95b8fbe1a524074dfcb96ee5efb89c9a1c9a
dir: /tests/execute/0037-assignop.c/

View raw version

int
main()
{
	int x;
	
	x = 0;
	x += 2;
	x += 2;
	if (x != 4)
		return 1;
	x -= 1;
	if (x != 3)
		return 2;
	x *= 2;
	if (x != 6)
		return 3;
		
	return 0;
}