Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error33.C
blob: 61b0cc3f2dcc20e2cf804bc1a18ed3ac1187a06c [
file
] [
log
] [
blame
]
/* PR c++/37556 */
/* { dg-do compile } */
struct
A
{
void
foo
();
};
typedef
void
(
A
::
T
)();
/* { dg-error "15:typedef name may not be a nested" } */
void
bar
(
T
);
void
baz
()
{
bar
(&
A
::
foo
);
}