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