shithub: scc

ref: 8604fd05150d98be7c9503ec9a97b63f05371ff7
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;
}