Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
typename4.C
blob: 56b505142e275f96f9aff3257e62ce626301e6f2 [
file
] [
log
] [
blame
]
struct
B
{
template
<
typename
U
>
struct
C
;
};
template
<
typename
T
>
struct
A
{
typedef
typename
T
::
C V
;
};
// { dg-error "not a type" }
void
f
()
{
A
<
B
>::
V p
;
}
// { dg-message "required" }