Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
rfg20.C
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*
}