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