Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
typedef.C
blob: c681c82d08d2baec74eee3443760c928d8137ae8 [
file
] [
log
] [
blame
]
// PRMS Id: 4687
// Bug: g++ misinterprets typedefs of function type in class scope.
// Build don't link:
typedef
int
(*
F1
)
();
struct
A
{
typedef
int
F
();
F
*
fp
;
F1 g
()
{
return
fp
;
}
// gets bogus error - typing
};