shithub: scc

ref: 05ade8e9661b399ac67cb352a6f4d4e70b426d47
dir: /tests/cc/execute/0158-ternary.c/

View raw version
int
main(void)
{
	int i = 0, *q;
	void *p;

	i = i ? 0 : 0l;
	p = i ? (void *) 0 : 0;
	p = i ? 0 : (void *) 0;
	p = i ? 0 : (const void *) 0;
	q = i ? 0 : p;
	q = i ? p : 0;
	q = i ? q : 0;
	q = i ? 0 : q;

	return (int) q;
}