1/* the type of the ?: expression should be the more specific type */
2
3struct foo {
4	int bar;
5};
6
7void
8test(void) {
9	int i;
10	struct foo *ptr = 0;
11
12	for (i = (ptr ? ptr : (void *)0)->bar; i < 10; i++)
13		test();
14}
15