1 static int foo(a)
2 {
3 return a ? : 1;
4 }
5
6 /*
7 * check-name: bad-type-twice0
8 *
9 * check-error-start
10 bad-type-twice0.c:3:16: error: incorrect type in conditional (non-scalar type)
11 bad-type-twice0.c:3:16: got incomplete type a
12 * check-error-end
13 */