Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
typedef.C
blob: 9cbba5bce5f6b4d0238715ccbf6934776729e9ed [
file
] [
log
] [
blame
]
// { dg-do assemble }
// PRMS Id: 4687
// Bug: g++ misinterprets typedefs of function type in class scope.
typedef
int
(*
F1
)
();
struct
A
{
typedef
int
F
();
F
*
fp
;
F1 g
()
{
return
fp
;
}
// { dg-bogus "" } typing
};