1 /* PR tree-optimization/89566 */
2 /* { dg-do compile } */
3 
4 typedef struct FILE { int i; } FILE;
5 #ifdef __cplusplus
6 extern "C"
7 #endif
8 int fprintf (FILE *, const char *, ...);
9 
10 int
main()11 main ()
12 {
13   ((void (*)()) fprintf) ();	// { dg-warning "function called through a non-compatible type" "" { target c } }
14   return 0;
15 }
16