1*1f5207b7SJohn Levon struct st;
2*1f5207b7SJohn Levon 
foo(int a)3*1f5207b7SJohn Levon static int foo(int a)
4*1f5207b7SJohn Levon {
5*1f5207b7SJohn Levon 	return (struct/st *) a;
6*1f5207b7SJohn Levon }
7*1f5207b7SJohn Levon /*
8*1f5207b7SJohn Levon  * check-name: Bad cast syntax
9*1f5207b7SJohn Levon  *
10*1f5207b7SJohn Levon  * check-error-start
11*1f5207b7SJohn Levon bad-cast.c:5:23: error: expected declaration
12*1f5207b7SJohn Levon bad-cast.c:5:23: error: Expected ) at end of cast operator
13*1f5207b7SJohn Levon bad-cast.c:5:23: error: got /
14*1f5207b7SJohn Levon  * check-error-end
15*1f5207b7SJohn Levon  */
16