blob: 1bd4ded9e1459bcb736a6f551a5c516a5d72c5c5 [file] [log] [blame]
// { dg-do assemble }
typedef void func_type ();
func_type *fp;
void *vp;
void example ()
{
vp != fp; // { dg-error "8:ISO C\\+\\+ forbids comparison" } no conversion from pfn to void*
}