blob: d96765653596c4b8dd7a913dc12529064993b7b2 [file] [log] [blame]
/* PR tree-optimization/89566 */
/* { dg-do compile } */
typedef struct FILE { int i; } FILE;
#ifdef __cplusplus
extern "C"
#endif
int fprintf (FILE *, const char *, ...);
int
main ()
{
((void (*)()) fprintf) (); // { dg-warning "function called through a non-compatible type" "" { target c } }
return 0;
}