Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
rfg26.C
blob: 43314fd16d15127a924b4e669414bfbb1a796f15 [
file
] [
log
] [
blame
]
// { dg-do assemble }
typedef
void
(
FTYPE
)
();
FTYPE f
;
/* ok */
void
test_0
()
{
(
FTYPE
)
f
;
/* { dg-error "5:invalid cast to function type" } casting to function type */
}