☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
rfg26.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/rfg26.C
code
plain
raw
1
// { dg-do assemble }
2
typedef void (FTYPE) ();
3
4
FTYPE f; /* ok */
5
6
void
7
test_0 ()
8
{
9
(FTYPE) f; /* { dg-error "5:invalid cast to function type" } casting to function type */
10
}