blob: 505f7c94968a27a3d276b9ab954b50114fbb3dff (
plain)
1
2
3
4
5
6
7
8
9
10
|
// { dg-do assemble }
typedef void func_type ();
func_type *fp;
void *vp;
void example ()
{
vp != fp; // { dg-error "forbids comparison" } no conversion from pfn to void*
}
|