shithub: scc

ref: c8e1837d9e661d706c6b43b8930b16308404f3e2
dir: /tests/execute/0107-bnot.c/

View raw version


int
main()
{
	int x;
	long long l;
	
	x = 0;
	l = 0;
	
	x = ~x;
	if (x != 0xffffffff)
		return 1;
	
	l = ~l;
	if (x != 0xffffffffffffffff)
		return 2;

	
	return 0;
}