Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-6812.41.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error32.C
blob: da27afdda2b4a57dcba67dc007117db33fe66e51 [
file
] [
log
] [
blame
]
/* PR c++/37555 */
/* { dg-do compile } */
struct
A
{};
typedef
void
(
A
::
T
)();
/* { dg-error "typedef name may not be a nested-name-specifier" } */
void
foo
()
{
T t
;
t
;
/* { dg-error "was not declared" } */
}