blob: 43314fd16d15127a924b4e669414bfbb1a796f15 [file] [log] [blame]
// { dg-do assemble }
typedef void (FTYPE) ();
FTYPE f; /* ok */
void
test_0 ()
{
(FTYPE) f; /* { dg-error "5:invalid cast to function type" } casting to function type */
}