☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
rfg20.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/rfg20.C
code
plain
raw
1
// { dg-do assemble }
2
3
typedef void func_type ();
4
func_type *fp;
5
void *vp;
6
7
void example ()
8
{
9
vp != fp; // { dg-error "8:ISO C\\+\\+ forbids comparison" } no conversion from pfn to void*
10
}