shithub: scc

ref: 4afccc571200034864f9290b902fe6dddff4246e
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;
}