shithub: scc

ref: 681e67865a4f1ef968ea8dc981ac62279abef8ad
dir: /tests/cc/execute/0039-sizeof.c/

View raw version
int
main()
{
	int x, *p;

	if (sizeof(0) < 2)
		return 1;
	if (sizeof 0 < 2)
		return 1;
	if (sizeof(char) < 1)
		return 1;
	if (sizeof(int) - 2 < 0)
		return 1;
	if (sizeof(&x) != sizeof p)
		return 1;
	return 0;
}