Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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 */
}